refactor: migrate from Vue CLI to Vite, update WebSocket handling, and clean up configuration
- Replaced vue.config.js with vite.config.js for Vite setup. - Updated WebSocket implementation in webSocket.js for improved readability and performance. - Removed unnecessary comments and cleaned up code formatting. - Configured Vite plugins for auto-imports, SVG icons, and component resolution. - Set up proxy configurations for API endpoints in Vite.
This commit is contained in:
14
.env.dev
14
.env.dev
@@ -1,11 +1,11 @@
|
||||
NODE_ENV = 'development'
|
||||
# VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
|
||||
# VUE_APP_BASE_URL = 'https://api.aida.com.hk'
|
||||
# VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
|
||||
# VITE_APP_BASE_URL = 'https://api.aida.com.hk'
|
||||
|
||||
# VUE_APP_BASE_URL = 'http://18.167.251.121:10086'
|
||||
VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
|
||||
# VUE_APP_BASE_URL = 'https://www.api.aida.com.hk'
|
||||
# VITE_APP_BASE_URL = 'http://18.167.251.121:10086'
|
||||
VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
|
||||
# VITE_APP_BASE_URL = 'https://www.api.aida.com.hk'
|
||||
# 徐佩
|
||||
# VUE_APP_BASE_URL = 'http://192.168.31.118:5567'
|
||||
# VITE_APP_BASE_URL = 'http://192.168.31.118:5567'
|
||||
# 海波
|
||||
# VUE_APP_BASE_URL = 'http://192.168.31.34:5567'
|
||||
# VITE_APP_BASE_URL = 'http://192.168.31.34:5567'
|
||||
|
||||
Reference in New Issue
Block a user