Skip to content

Vue Module Generator ( For Pages ( With Store ) Or Component Folder )

License

Notifications You must be signed in to change notification settings

edisdev/vue-generate-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

11ddc2f · Aug 5, 2019

History

14 Commits
Aug 5, 2019
Aug 4, 2019
Aug 4, 2019
Aug 4, 2019
Aug 4, 2019
Aug 5, 2019
Aug 4, 2019
Aug 5, 2019
Aug 5, 2019
Aug 4, 2019

Repository files navigation

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

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

About

Vue Module Generator ( For Pages ( With Store ) Or Component Folder )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published