赵士淞
2023-04-12 dbfecd6423a625edac78aaafeea3d8a9bd2b0928
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)
}