vue-auto-routing
Generate Vue Router routing automatically.
Installation
Requirements
- webpack >= v4.0.0
Usage
vue-auto-routing resolves Vue Router routing automatically by using vue-route-generator. The routes are generated with the same rules with Nuxt routing.
To use this, you import vue-auto-routing
and pass it into Vue Router constructor options.
You also need to add a webpack plugin vue-auto-routing provides. The plugin options are the same as vue-route-generator options
Related Projects
- vue-cli-plugin-auto-routing: Vue CLI plugin including auto pages and layouts resolution.
- vue-router-layout: Lightweight layout resolver for Vue Router.
- vue-route-generator: Low-level utility generating routing which vue-auto-routing using under the hood.