Create Modular Router routes for [email protected]
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
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
Just add vue-cli-plugin-modular-vuex
vue add modular-vuex
vue add modular-router