March 2018
Beginner to intermediate
344 pages
7h 7m
English
We can also take advantage of beforeRouteEnter to perform actions prior to entering the component route. Here's an example:
beforeRouteEnter(to, from, next) { console.log(`I'm called before entering the route!`) next(); }
We still have to call next to pass the stack down to the next route handler.
Read now
Unlock full access