8 lines
267 B
JavaScript
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)
|
|
}
|