luoyb
2021-01-31 1ac9bd8bc43cb46f5e06ca4e5aaed66bd073ff6b
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)
}