Skip to content

Yeoman Generators for vue-mpa-template generated projects

Notifications You must be signed in to change notification settings

lingobus/generator-mpa

Repository files navigation

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`