DEV Community

VueTraining.net
VueTraining.net

Posted on

VueJS Quick Tip: Vue-router-next in the Composition API

The new version of Vue Router is almost ready. Here's how to access the route and router within the Composition API's setup function.

Make sure to call them before any await calls, or they might not work right!

Alt Text

Top comments (0)