12 行
495 B
JavaScript
12 行
495 B
JavaScript
|
const viewGenerator = require('./plop-templates/view/prompt')
|
||
|
const componentGenerator = require('./plop-templates/component/prompt')
|
||
|
const storeGenerator = require('./plop-templates/store/prompt.js')
|
||
|
const tableGenerator = require('./plop-templates/table/prompt.js')
|
||
|
|
||
|
module.exports = function(plop) {
|
||
|
plop.setGenerator('view', viewGenerator)
|
||
|
plop.setGenerator('component', componentGenerator)
|
||
|
plop.setGenerator('store', storeGenerator)
|
||
|
plop.setGenerator('tablepage', tableGenerator)
|
||
|
}
|