.env.development 640 B

123456789101112131415161718192021222324252627282930
  1. # 只在开发模式中被载入
  2. VITE_PORT = 8001
  3. # 网站根目录
  4. VITE_PUBLIC_PATH = ./
  5. # 是否开启mock
  6. VITE_USE_MOCK = true
  7. # 网站前缀
  8. VITE_BASE_URL = /
  9. # 是否删除console
  10. VITE_DROP_CONSOLE = true
  11. # 跨域代理,可以配置多个,请注意不要换行
  12. #VITE_PROXY = [["/appApi","http://localhost:8001"],["/upload","http://localhost:8001/upload"]]
  13. #VITE_PROXY=[["/cbs-app","https://ponline.colexiu.com"],["/cbs-app","https://ponline.colexiu.com"]]
  14. # API 接口地址
  15. VITE_GLOB_API_URL =
  16. # 图片上传地址
  17. VITE_GLOB_UPLOAD_URL=
  18. # 图片前缀地址
  19. VITE_GLOB_IMG_URL=
  20. # 接口前缀
  21. #VITE_GLOB_API_URL_PREFIX =