The Vue.js Master Class 2024 Edition
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Configure unplugin-auto-import for unplugin-vue-router

The Vue Router preset we get from unplugin-auto-import won’t be the perfect match for our app. This is because our app isn’t just using vue-router, it uses unplugin-vue-router package instead. In this lesson, we will make both packages work together and also update unplugin-vue-router to the latest version adhering to its breaking changes.

Links