vue-cli 3 plugin to create modular route files

Downloads in past


231.1.14 years ago4 years agoMinified + gzip package size for vue-cli-plugin-modular-router in KB


<img alt="" src="">
<img alt="" src="">
Create Modular Router routes for vue-cli@3.0


If you haven't yet installed vue-cli 3, first follow the install instructions here: 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 ```