yaozc
2023-03-09 54fd333b1cbced722ddccc8016cd1e4975aa31bf
1
2
3
4
5
6
7
const viewGenerator = require('./plop-templates/view/prompt')
const componentGenerator = require('./plop-templates/component/prompt')
 
module.exports = function(plop) {
  plop.setGenerator('view', viewGenerator)
  plop.setGenerator('component', componentGenerator)
}