赵士淞
2023-01-17 53382ac94b9e7dba88d71f8dea2c8213bc0761ca
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)
}