2020-01-07 23:32:27 +08:00
|
|
|
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)
|
|
|
|
}
|
2020-03-11 22:16:23 +08:00
|
|
|
|