mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 13:37:45 +08:00
7 lines
318 B
JavaScript
7 lines
318 B
JavaScript
module.exports = function (plop) {
|
|
plop.setWelcomeMessage('请选择需要创建的模式:')
|
|
plop.setGenerator('page', require('./plop-templates/page/prompt'))
|
|
plop.setGenerator('component', require('./plop-templates/component/prompt'))
|
|
plop.setGenerator('store', require('./plop-templates/store/prompt'))
|
|
}
|