@@ -16,7 +16,7 @@ cd ..
# 3. 编译前端
echo "3. 编译Vue前端..."
cd frontend
-npm install --production
+npm install
npm run build
cd ..
@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
- "build": "vue-tsc && vite build",
+ "build": "vite build",
"preview": "vite preview"
},
"dependencies": {