vue-cli-plugin-modular-router

vue-cli 3 plugin to create modular route files

Downloads in past

Stats

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

Readme

<img alt="" src="https://img.shields.io/npm/v/vue-cli-plugin-modular-router/latest.svg?style=flat-square">
<img alt="" src="https://img.shields.io/npm/dm/vue-cli-plugin-modular-router.svg?style=flat-square">
vue-cli-plugin-modular-router
Create Modular Router routes for vue-cli@3.0

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 ```