Files
sanShiJi/qd/plopfile.js
USER-20220102CG\noblelift 42561ad4f6 init
2022-09-28 18:08:01 +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)
}