小说后台管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 line
379 B

  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. module.exports = function(plop) {
  5. plop.setGenerator('view', viewGenerator)
  6. plop.setGenerator('component', componentGenerator)
  7. plop.setGenerator('store', storeGenerator)
  8. }