Enhanced Routing with UnPlugin Vue Router

What is Unplugin Vue Router?

In this lesson, learn what unplugin-vue-router is and what it’s good for. unplugin-vue-router is a Vite plugin that provides filed-based routing for Vue.js projects. It also comes with error detection and autocomplete powers thanks to it’s built in TypeScript support.

At the time of this recording, the plugin is marked as experimental.

Links

LESSON TRANSCRIPT

Hello, and welcome to the course Enhanced Routing with Unplugin View Router. js applications. But first, what is Unplugin View Router? js apps.

This means routes are automatically generated for you based on the files that exist within a certain directory and the nesting order of those files. UnpluginViewRouter also provides some really great TypeScript support, allowing you to have autocomplete options for your various routes, as well as autocomplete options for your route params, and a whole lot more. Do note, at the time of this recording, this package is still marked as experimental. However, it is created by a ViewCore team member, Thus, I expect it will not remain experimental for too long.

So if you're ready to save time creating routes for your app, let's get started.

This transcript is generated automatically from the lesson video. Spotted an inaccuracy? Let us know at team@vueschool.io.