1.1.1 • Published 5 years ago

vue-cli-plugin-modular-router v1.1.1

Weekly downloads
200
License
MIT
Repository
github
Last release
5 years ago

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