mirror of
https://gitee.com/dromara/go-view.git
synced 2024-11-29 18:28:28 +08:00
feat: 新增 preview 模式
This commit is contained in:
parent
5522837b00
commit
5eca551271
5
Makefile
5
Makefile
@ -6,15 +6,20 @@ dev:
|
||||
dist:
|
||||
npm run build
|
||||
|
||||
view:
|
||||
npm run preview
|
||||
|
||||
lint:
|
||||
npm run lint
|
||||
|
||||
new:
|
||||
npm run new
|
||||
|
||||
|
||||
|
||||
help:
|
||||
@echo " make dev [npm run dev] 开发模式"
|
||||
@echo " make dist [npm run build] 编译模式"
|
||||
@echo " make view [npm run preview] 预览打包文件"
|
||||
@echo " make new [npm run lint] 通过自动化流程创建代码"
|
||||
@echo " make lint [npm run new] 格式校验"
|
@ -4,6 +4,7 @@
|
||||
"scripts": {
|
||||
"dev": "vite --host",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"preview": "vite preview",
|
||||
"new": "plop --plopfile ./plop/plopfile.js",
|
||||
"postinstall": "husky install"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user