| sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame^] | 1 | const viewGenerator = require('./plop-templates/view/prompt') |
| 2 | const componentGenerator = require('./plop-templates/component/prompt') | ||||
| 3 | const storeGenerator = require('./plop-templates/store/prompt.js') | ||||
| 4 | |||||
| 5 | module.exports = function(plop) { | ||||
| 6 | plop.setGenerator('view', viewGenerator) | ||||
| 7 | plop.setGenerator('component', componentGenerator) | ||||
| 8 | plop.setGenerator('store', storeGenerator) | ||||
| 9 | } | ||||