feat: 新增 preview 模式,修改打包后路径指向

This commit is contained in:
奔跑的面条
2022-06-15 17:48:16 +08:00
parent 6edbb7c8a7
commit db815661e8
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -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"
},