修复前端编译vue-tsc找不到的问题:移除npm install --production参数
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ cd ..
|
|||||||
# 3. 编译前端
|
# 3. 编译前端
|
||||||
echo "3. 编译Vue前端..."
|
echo "3. 编译Vue前端..."
|
||||||
cd frontend
|
cd frontend
|
||||||
npm install --production
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vue-tsc && vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Verwijs in nieuw issue
Block a user