File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,18 @@ VITE_API_URL=/admin-api
17
17
18
18
# 打包路径
19
19
VITE_BASE_PATH=/
20
+
21
+ # 项目本地运行端口号, 与.vscode/launch.json配合
22
+ VITE_PORT=5173
23
+
24
+ # 是否删除debugger
25
+ VITE_DROP_DEBUGGER=false
26
+
27
+ # 是否删除console.log
28
+ VITE_DROP_CONSOLE=false
29
+
30
+ # 是否sourcemap
31
+ VITE_SOURCEMAP=true
32
+
33
+ # 验证码的开关
34
+ VITE_APP_CAPTCHA_ENABLE=false
Original file line number Diff line number Diff line change
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version" : " 0.2.0" ,
6
+ "configurations" : [
7
+ {
8
+ "type" : " msedge" ,
9
+ "request" : " launch" ,
10
+ "name" : " Launch Edge against localhost" ,
11
+ "url" : " http://localhost:5173" ,
12
+ "webRoot" : " ${workspaceFolder}/src" ,
13
+ "sourceMaps" : true
14
+ }
15
+ ]
16
+ }
You can’t perform that action at this time.
0 commit comments