igeligel / vuex-namespaced-module-structure

:chart_with_upwards_trend: A Vue.js project powered by Vuex namespaced modules in a simple structure based on Large-scale Vuex application structures
https://vuex-namespaced-module-structure.netlify.com
MIT License
151 stars 35 forks source link
blogpost large-scale modules vue vue2 vuejs2 vuex

vuex-namespaced-module-structure by igeligel

A Vue.js/Vuex project showcasing a little bit more complex store structure. This project was created in cooperation with 3YOURMIND.

badge of license badge of pull request welcome badge of hiring advertisement of 3yourmind badge of github star

Showcase/Architecture

A namespaced module based Vuex store structure.

diagram

structure of the store system

file structure structure of the store system in visual studio code

Dependencies

npm dependencies | Dependency | Version | | ---------- | ------- | | vue | ^2.5.2 | | vue-router | ^3.0.1 | | vuex | ^3.0.0 |

Installation

The installation process is split into two sections for development and production use. You can find a production version of this site live at vuex-namespaced-module-structure.netlify.com.

Development

instructions #### Using npm ```shell npm install npm run dev ``` #### Using yarn ```shell yarn install yarn run dev ```

Production

instructions #### Using npm ```shell npm install npm run build ``` #### Using yarn ```shell yarn install yarn run build ```

Examples

Contact

Twitter of Kevin Peters

Contributors


igeligel

Contributions: 18

License

vuex-namespaced-module-structure is realeased under the MIT License.