赵士淞
2022-12-19 4887e1c5a583bb0fc8a8b3be68a035f6225aca22
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)
}