plopfile.js 267 B

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