admin/plopfile.js
2020-12-15 11:47:40 +08:00

8 lines
267 B
JavaScript

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)
}