Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PureConstructs/vue-cli-plugin-modular-vuex
Create Modular Vuex stores for Vue CLI 3 plugin
https://github.com/PureConstructs/vue-cli-plugin-modular-vuex
vue-cli-3 vuex vuex-plugin
Last synced: 26 days ago
JSON representation
Create Modular Vuex stores for Vue CLI 3 plugin
- Host: GitHub
- URL: https://github.com/PureConstructs/vue-cli-plugin-modular-vuex
- Owner: PureConstructs
- License: mit
- Created: 2018-09-18T21:32:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T20:36:58.000Z (over 1 year ago)
- Last Synced: 2024-01-02T23:39:51.140Z (5 months ago)
- Topics: vue-cli-3, vuex, vuex-plugin
- Language: JavaScript
- Size: 2.42 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI 3 Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI 3 Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI 3 Plugin to create modular Vuex store files (Components & Libraries / Integrations)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI 3 Plugin to create modular Vuex store files (Integrations / Vue CLI 3 Plugins)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI 3 Plugin to create modular Vuex store files (Integrations / Vue CLI 3 Plugins)
- awesome-vue - vue-cli-plugin-modular-vuex ★0 - Vue CLI 3 Plugin to create modular Vuex store files (Integrations / Vue CLI 3 Plugins)
- awesome-vue - vue-cli-plugin-modular-vuex - Vue CLI Plugin to create modular Vuex store files (Components & Libraries / Integrations)
README
# vue-cli-plugin-modular-vuex
Create Modular Vuex stores for [[email protected]](https://github.com/vuejs/vue-cli)
## 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](https://cli.vuejs.org/guide/creating-a-project.html#pulling-2-x-templates-legacy).
Generate a project using vue-cli 3.0
```
vue create my-app
```Before installing the modular-vuex plugin, make sure to commit or stash your changes in case you need to revert
To install the modular-vuex plugin...
```
cd my-app
vue add vuex // if you haven't selected to add vuex during the vue create stage
vue add modular-vuex
```## Usage
Invoke to generate a new store module
```
vue invoke modular-vuex
```## Using with other plugins
### Electron - Vuetify
Just add [vue-cli-plugin-electron-builder](https://www.npmjs.com/package/vue-cli-plugin-electron-builder) and [vue-cli-plugin-vuetify](https://www.npmjs.com/package/vue-cli-plugin-vuetify)
```
vue add vuex
vue add electron-builder
vue add vuetify
vue add modular-vuex
yarn serve:electron // or npm server:electron
```