You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
495 B

  1. const viewGenerator = require('./plop-templates/view/prompt')
  2. const componentGenerator = require('./plop-templates/component/prompt')
  3. const storeGenerator = require('./plop-templates/store/prompt.js')
  4. const tableGenerator = require('./plop-templates/table/prompt.js')
  5. module.exports = function(plop) {
  6. plop.setGenerator('view', viewGenerator)
  7. plop.setGenerator('component', componentGenerator)
  8. plop.setGenerator('store', storeGenerator)
  9. plop.setGenerator('tablepage', tableGenerator)
  10. }