plopfile.js 267 B

12345678
  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. }