Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edisdev/vue-generate-module
Vue Module Generator ( For Pages ( With Store ) Or Component Folder )
https://github.com/edisdev/vue-generate-module
shell-script vue vue-components vue-generator vue-pages
Last synced: 3 months ago
JSON representation
Vue Module Generator ( For Pages ( With Store ) Or Component Folder )
- Host: GitHub
- URL: https://github.com/edisdev/vue-generate-module
- Owner: edisdev
- License: mit
- Created: 2019-08-04T21:26:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T00:46:21.000Z (about 2 years ago)
- Last Synced: 2024-10-17T12:34:27.988Z (3 months ago)
- Topics: shell-script, vue, vue-components, vue-generator, vue-pages
- Language: Shell
- Size: 3.17 MB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-generate-module
You need to specify in your app general path of pages and components. . You can this to create-module-config.json file.
### create-module-config.json
``` html
{
"pagePath": Directory path of all general pages located in your app. (for example: src/pages),
"componentPath": Directory path of all components located in your app. (for example: src/components),
"storePath": Directory path of stores located in your app.( for example src/stores)
}
```After editing the create-module-config.json file, you can run with the script code `(create-module script)` in the package.json file. When doing this, you should add module name to end of script. ( yarn create-module Home etc. / Home is pages / component name & "--ignoreStore": You can to specify want to using store when creating page (default: false, yarn create-module Home --ignoreStore)
Just , that's it :)