feat:test

This commit is contained in:
wangzenghua 2025-04-16 08:09:16 +01:00
parent c32bbee235
commit dc5f6ff08e
3 changed files with 12 additions and 2 deletions

View File

@ -2,7 +2,7 @@
VITE_PATH = '/dev-api'
# Backend address
VITE_BASE_URL = 'http://192.168.3.85:8080'
VITE_BASE_URL = 'http://47.109.205.240:10085/admin'
# spa-title
VITE_GLOB_APP_TITLE = GoView

8
.env.test Normal file
View File

@ -0,0 +1,8 @@
# development path
VITE_PATH = '/prod-api'
# spa-title
VITE_GLOB_APP_TITLE = GoView
# spa shortname
VITE_GLOB_APP_SHORT_NAME = GoView

View File

@ -6,10 +6,12 @@
},
"scripts": {
"dev": "vite --host",
"test": "vite build --mode test",
"build": "vite build",
"preview": "vite preview",
"new": "plop --plopfile ./plop/plopfile.js",
"postinstall": "husky install",
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix"
},
@ -74,7 +76,7 @@
"lodash": "~4.17.21",
"mockjs": "^1.1.0",
"plop": "^3.0.5",
"prettier": "^2.6.2",
"prettier": "^3.5.3",
"sass": "^1.77.6",
"sass-loader": "^12.6.0",
"typescript": "4.6.3",