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

vuetraining profile image VueTraining.net ・1 min read

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


markdown guide