Yeoman Generators for vue-mpa-template generated projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_utils
api
component
controller
dialog
download
middleware
mock
page-component
page-data-table
page
prototype-dashboard
prototype-login
spa
store
.gitignore
README.md
index.js
package-lock.json
package.json
yarn.lock

README.md

Yeoman Generators for vue-mpa-template generated projects

Installation

npm i -g generator-mpa

sub-generators

$ yo --generators
Available Generators:

  mpa
    api # create *.api.js in `src/js/api`
    component # create Vue components in `src/js/components`
    controller # create express controller in `controllers`
    download # download mpa generators from name/repo
    middleware # create express middleware in `middlewares`
    mock # create api mock in `mock
    page # create page in `src/js/pages`
    page-component # create component inside page dir
    page-data-table # create data table page in dashboard
    prototype-login # create login prototype files
    prototype-dashboard # create dashboard with navbar and sidebar
    spa # create SPA js file in `src/js`
    store # create *.store.js in `src/js/store`