zbAdmin/plopfile.js
kaizheng(郑凯) 58e3df1c04 fix: 初始化
2025-01-26 21:07:26 +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)
}