Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 )

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 :)