plopfile.js 379 B

12345678910
  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. module.exports = function(plop) {
  5. plop.setGenerator('view', viewGenerator)
  6. plop.setGenerator('component', componentGenerator)
  7. plop.setGenerator('store', storeGenerator)
  8. }