.env 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # the base url of the application, the default is "/"
  2. # if use a sub directory, it must be end with "/", like "/admin/" but not "/admin"
  3. VITE_BASE_URL=/
  4. VITE_APP_TITLE=中数未来管理系统
  5. VITE_APP_DESC=中数未来管理系统 admin template
  6. # the prefix of the icon name
  7. VITE_ICON_PREFIX=icon
  8. # the prefix of the local svg icon component, must include VITE_ICON_PREFIX
  9. # format {VITE_ICON_PREFIX}-{local icon name}
  10. VITE_ICON_LOCAL_PREFIX=icon-local
  11. # auth route mode: static | dynamic
  12. VITE_AUTH_ROUTE_MODE=dynamic
  13. # static auth route home
  14. VITE_ROUTE_HOME=home
  15. # default menu icon
  16. VITE_MENU_ICON=mdi:menu
  17. # whether to enable http proxy when is dev mode
  18. VITE_HTTP_PROXY=Y
  19. # vue-router mode: hash | history | memory
  20. VITE_ROUTER_HISTORY_MODE=history
  21. # success code of backend service, when the code is received, the request is successful
  22. VITE_SERVICE_SUCCESS_CODE=200
  23. # VITE_SERVICE_SUCCESS_CODE=0000
  24. # logout codes of backend service, when the code is received, the user will be logged out and redirected to login page
  25. VITE_SERVICE_LOGOUT_CODES=8888,8889
  26. # modal logout codes of backend service, when the code is received, the user will be logged out by displaying a modal
  27. VITE_SERVICE_MODAL_LOGOUT_CODES=7777,7778
  28. # token expired codes of backend service, when the code is received, it will refresh the token and resend the request
  29. VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998,3333
  30. # when the route mode is static, the defined super role
  31. VITE_STATIC_SUPER_ROLE=R_SUPER
  32. # sourcemap
  33. VITE_SOURCE_MAP=N
  34. # Used to differentiate storage across different domains
  35. VITE_STORAGE_PREFIX=SOY_
  36. # used to control whether the program automatically detects updates
  37. VITE_AUTOMATICALLY_DETECT_UPDATE=Y
  38. # show proxy url log in terminal
  39. VITE_PROXY_LOG=Y
  40. # used to control whether to launch editor
  41. # by the way, this plugin is only available in dev mode, not in build mode
  42. VITE_DEVTOOLS_LAUNCH_EDITOR=code