plopfile.js 254 B

1234567
  1. const viewGenerator = require('./plop/view/prompt.js')
  2. const componentGenerator = require('./plop/component/prompt.js')
  3. module.exports = function (plop) {
  4. plop.setGenerator('view', viewGenerator)
  5. plop.setGenerator('component', componentGenerator)
  6. }