lckt-admin/.env.development
zhangpeng 0e5f07eaf7 refactor(dev): 调整开发环境配置并更新路由相关代码
- 修改 .env.development 文件中的 VITE_BASE_PATH 为本地地址
- 在 pathInfo.json 中添加订单管理相关页面的路径信息
- 更新 router.js 中的异步路由获取逻辑,使用 getMenuList 替代原 asyncMenu
2025-04-25 16:19:41 +08:00

12 lines
479 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ENV = 'development'
VITE_CLI_PORT = 8080
VITE_SERVER_PORT = 8888
VITE_BASE_API = /api
VITE_FILE_API = /api
VITE_BASE_PATH = http://127.0.0.1
VITE_POSITION = close
VITE_EDITOR = vscode
// VITE_EDITOR = webstorm 如果使用webstorm开发且要使用dom定位到代码行功能 请先自定添加 webstorm到环境变量 再将VITE_EDITOR值修改为webstorm
// 如果使用docker-compose开发模式设置为下面的地址或本机主机IP
//VITE_BASE_PATH = http://127.0.0.1