vue-cli-plugin-modular-router
v1.1.1
Published
vue-cli 3 plugin to create modular route files
Downloads
418
Maintainers
Readme
vue-cli-plugin-modular-router
Create Modular Router routes for [email protected]
Install
If you haven't yet installed vue-cli 3, first follow the install instructions here: https://github.com/vuejs/vue-cli
Tip: If you don't want to overwrite your current vue-cli because you still need vue init
, then try this.
Generate a project using vue-cli 3.0
vue create my-app
Before installing the modular-router plugin, make sure to commit or stash your changes in case you need to revert
To install the modular-router plugin...
cd my-app
vue add router // if you haven't selected to add router during the vue create stage
vue add modular-router
Using with other plugins
Electron - Vuetify
Just add vue-cli-plugin-electron-builder and vue-cli-plugin-vuetify
vue add electron-builder
vue add vuetify
vue add modular-router
yarn serve:electron
Modular Vuex
Just add vue-cli-plugin-modular-vuex
vue add modular-vuex
vue add modular-router