feat: add plop
正在显示
... | ... | @@ -19,7 +19,8 @@ |
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache-location node_modules/.cache/stylelint/", | ||
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint", | ||
"prepare": "husky", | ||
"preinstall": "npx only-allow pnpm" | ||
"preinstall": "npx only-allow pnpm", | ||
"plop": "plop --plopfile ./plop-templates/plopfile.cjs" | ||
}, | ||
"keywords": [ | ||
"vue-pure-admin", | ||
... | ... | @@ -146,6 +147,7 @@ |
"gradient-string": "^3.0.0", | ||
"husky": "^9.1.7", | ||
"lint-staged": "^15.5.0", | ||
"plop": "^4.0.1", | ||
"postcss": "^8.5.3", | ||
"postcss-html": "^1.8.0", | ||
"postcss-load-config": "^6.0.1", | ||
... | ... |
plop-templates/api.hbs
0 → 100644
plop-templates/asyncRouter.hbs
0 → 100644
plop-templates/plopfile.cjs
0 → 100644
plop-templates/route.hbs
0 → 100644
plop-templates/view.hbs
0 → 100644
src/router/modules/fighting.ts
0 → 100644
src/views/fighting/index.vue
0 → 100644
请
注册
或者
登录
后发表评论