mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 04:08:44 +08:00 
			
		
		
		
	feat: 添加launch.json,修改.env.front配合debug
This commit is contained in:
		
							
								
								
									
										15
									
								
								.env.front
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								.env.front
									
									
									
									
									
								
							@@ -17,3 +17,18 @@ VITE_API_URL=/admin-api
 | 
			
		||||
 | 
			
		||||
# 打包路径
 | 
			
		||||
VITE_BASE_PATH=/
 | 
			
		||||
 | 
			
		||||
# 项目本地运行端口号, 与.vscode/launch.json配合
 | 
			
		||||
VITE_PORT=5173
 | 
			
		||||
 | 
			
		||||
# 是否删除debugger
 | 
			
		||||
VITE_DROP_DEBUGGER=false
 | 
			
		||||
 | 
			
		||||
# 是否删除console.log
 | 
			
		||||
VITE_DROP_CONSOLE=false
 | 
			
		||||
 | 
			
		||||
# 是否sourcemap
 | 
			
		||||
VITE_SOURCEMAP=true
 | 
			
		||||
 | 
			
		||||
# 验证码的开关
 | 
			
		||||
VITE_APP_CAPTCHA_ENABLE=false
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
{
 | 
			
		||||
  // Use IntelliSense to learn about possible attributes.
 | 
			
		||||
  // Hover to view descriptions of existing attributes.
 | 
			
		||||
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
 | 
			
		||||
  "version": "0.2.0",
 | 
			
		||||
  "configurations": [
 | 
			
		||||
    {
 | 
			
		||||
      "type": "msedge",
 | 
			
		||||
      "request": "launch",
 | 
			
		||||
      "name": "Launch Edge against localhost",
 | 
			
		||||
      "url": "http://localhost:5173",
 | 
			
		||||
      "webRoot": "${workspaceFolder}/src",
 | 
			
		||||
      "sourceMaps": true
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user