Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

plopfile.js 495 B

3 år sedan
1234567891011
  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. const tableGenerator = require('./plop-templates/table/prompt.js')
  5. module.exports = function(plop) {
  6. plop.setGenerator('view', viewGenerator)
  7. plop.setGenerator('component', componentGenerator)
  8. plop.setGenerator('store', storeGenerator)
  9. plop.setGenerator('tablepage', tableGenerator)
  10. }