vue-element-plus-admin/plopfile.js
kailong321200875 fa54a1704f perf: add plop
2022-04-08 19:54:59 +08:00

8 lines
254 B
JavaScript

const viewGenerator = require('./plop/view/prompt.js')
const componentGenerator = require('./plop/component/prompt.js')
module.exports = function (plop) {
plop.setGenerator('view', viewGenerator)
plop.setGenerator('component', componentGenerator)
}