Explorar o código

上传新文件

张晓翠 %!s(int64=2) %!d(string=hai) anos
pai
achega
117c9d09c5
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      baby-institute-admin-ui-front-master/plopfile.js

+ 9 - 0
baby-institute-admin-ui-front-master/plopfile.js

@@ -0,0 +1,9 @@
+const viewGenerator = require('./plop-templates/view/prompt')
+const componentGenerator = require('./plop-templates/component/prompt')
+const storeGenerator = require('./plop-templates/store/prompt.js')
+
+module.exports = function(plop) {
+  plop.setGenerator('view', viewGenerator)
+  plop.setGenerator('component', componentGenerator)
+  plop.setGenerator('store', storeGenerator)
+}