You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| navigatingFrom |`beforeRouteLeave`| Before user leaves the route |
169
-
| navigatingTo |`beforeRouteEnter`| Before user enters a route |
170
-
| - |`beforeRouteUpdate`| Before route is changed but view remains the same. This can happen when path is exactly the same but you change e.g. passed prop to the route. Please refer to Vue-Router docs for more details. |
171
-
| navigatedTo |`beforeRouteEnter`| To trigger it properly you need to access component instance. You can use `next(vm => ...)` callback within `beforeRouteEnter()`. Please check Vue-Router docs for more details. |
172
-
| navigatedFrom | - | This event is tricky to control for developers. There is no exact mapping of it in the router. For store state cleanup use build-in meta dispatcher instead. For component state you could opt for using `beforeRouteLeave()`. You could potentially use `navigatedFrom` directly inside of the page but you |
| navigatingFrom |`beforeRouteLeave`| Before user leaves the route|
178
+
| navigatingTo |`beforeRouteEnter`| Before user enters a route|
179
+
| - |`beforeRouteUpdate`| Before route is changed but view remains the same. This can happen when path is exactly the same but you change e.g. passed prop to the route. Please refer to Vue-Router docs for more details.|
180
+
| navigatedTo |`beforeRouteEnter`| To trigger it properly you need to access component instance. You can use `next(vm => ...)` callback within `beforeRouteEnter()`. Please check Vue-Router docs for more details.|
181
+
| navigatedFrom | -| This event is tricky to control for developers. There is no exact mapping of it in the router. For store state cleanup use build-in meta dispatcher instead. For component state you could opt for using `beforeRouteLeave()`. You could potentially use `navigatedFrom` directly inside of the page but you |
0 commit comments