vuex-store-generator
v1.0.5
Published
generate a vuex store.js file from a json object file
Downloads
11
Readme
Vuex Store Generator
An npm module to easily create a vuex store file, including getters, actions, types, and mutations from a JSON file.
Pass in a JSON file as a command line input, and the output will be placed in your current working directory as store.js
An example state.json file can be found in the example directory
installation
npm i -g vuex-store-generator
or
npx vuex-store-generator -f ./store.json
usage
vuex-gen -f ./store.json
license
MIT