2024-11-15 22:45:28 +08:00
|
|
|
|
# the base url of the application, the default is "/"
|
|
|
|
|
# if use a sub directory, it must be end with "/", like "/admin/" but not "/admin"
|
2022-03-05 01:55:21 +08:00
|
|
|
|
VITE_BASE_URL=/
|
2021-12-12 17:28:39 +08:00
|
|
|
|
|
2024-08-16 16:33:11 +08:00
|
|
|
|
VITE_APP_TITLE=RuoYi-Vue-Plus
|
2021-12-12 17:28:39 +08:00
|
|
|
|
|
2024-08-16 16:33:11 +08:00
|
|
|
|
VITE_APP_DESC=RuoYi-Vue-Plus多租户管理系统
|
2021-12-12 17:28:39 +08:00
|
|
|
|
|
2023-11-17 08:45:00 +08:00
|
|
|
|
# the prefix of the icon name
|
|
|
|
|
VITE_ICON_PREFIX=icon
|
2022-03-12 19:32:15 +08:00
|
|
|
|
|
2023-11-17 08:45:00 +08:00
|
|
|
|
# the prefix of the local svg icon component, must include VITE_ICON_PREFIX
|
|
|
|
|
# format {VITE_ICON_PREFIX}-{local icon name}
|
|
|
|
|
VITE_ICON_LOCAL_PREFIX=icon-local
|
2022-04-18 23:46:42 +08:00
|
|
|
|
|
2023-11-17 08:45:00 +08:00
|
|
|
|
# auth route mode: static | dynamic
|
2024-09-07 12:48:39 +08:00
|
|
|
|
VITE_AUTH_ROUTE_MODE=dynamic
|
2022-09-23 00:15:00 +08:00
|
|
|
|
|
2023-11-17 08:45:00 +08:00
|
|
|
|
# static auth route home
|
|
|
|
|
VITE_ROUTE_HOME=home
|
2022-09-23 00:15:00 +08:00
|
|
|
|
|
2023-11-17 08:45:00 +08:00
|
|
|
|
# default menu icon
|
2024-01-26 21:25:16 +08:00
|
|
|
|
VITE_MENU_ICON=mdi:menu
|
2024-03-02 12:22:10 +08:00
|
|
|
|
|
|
|
|
|
# whether to enable http proxy when is dev mode
|
2024-06-04 20:23:22 +08:00
|
|
|
|
VITE_HTTP_PROXY=Y
|
2024-03-02 12:22:10 +08:00
|
|
|
|
|
|
|
|
|
# vue-router mode: hash | history | memory
|
|
|
|
|
VITE_ROUTER_HISTORY_MODE=history
|
2024-03-24 06:23:56 +08:00
|
|
|
|
|
|
|
|
|
# success code of backend service, when the code is received, the request is successful
|
2024-08-16 16:33:11 +08:00
|
|
|
|
VITE_SERVICE_SUCCESS_CODE=200
|
2024-03-24 06:23:56 +08:00
|
|
|
|
|
|
|
|
|
# logout codes of backend service, when the code is received, the user will be logged out and redirected to login page
|
2024-08-16 16:33:11 +08:00
|
|
|
|
VITE_SERVICE_LOGOUT_CODES=401
|
2024-03-24 06:23:56 +08:00
|
|
|
|
|
|
|
|
|
# modal logout codes of backend service, when the code is received, the user will be logged out by displaying a modal
|
2024-08-16 16:33:11 +08:00
|
|
|
|
VITE_SERVICE_MODAL_LOGOUT_CODES=401
|
2024-03-24 06:23:56 +08:00
|
|
|
|
|
|
|
|
|
# token expired codes of backend service, when the code is received, it will refresh the token and resend the request
|
2024-09-07 11:10:58 +08:00
|
|
|
|
VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998,3333
|
2024-03-24 15:39:41 +08:00
|
|
|
|
|
|
|
|
|
# when the route mode is static, the defined super role
|
|
|
|
|
VITE_STATIC_SUPER_ROLE=R_SUPER
|
2024-04-24 10:09:21 +08:00
|
|
|
|
|
|
|
|
|
# sourcemap
|
|
|
|
|
VITE_SOURCE_MAP=N
|
2024-04-25 04:44:47 +08:00
|
|
|
|
|
|
|
|
|
# Used to differentiate storage across different domains
|
2025-04-23 17:43:10 +08:00
|
|
|
|
VITE_STORAGE_PREFIX=RY_
|
2024-09-03 16:52:38 +08:00
|
|
|
|
|
|
|
|
|
# used to control whether the program automatically detects updates
|
|
|
|
|
VITE_AUTOMATICALLY_DETECT_UPDATE=Y
|
2025-03-12 23:08:24 +08:00
|
|
|
|
|
|
|
|
|
# show proxy url log in terminal
|
|
|
|
|
VITE_PROXY_LOG=Y
|
2025-04-04 12:00:52 +08:00
|
|
|
|
|
|
|
|
|
# used to control whether to launch editor
|
|
|
|
|
# by the way, this plugin is only available in dev mode, not in build mode
|
|
|
|
|
VITE_DEVTOOLS_LAUNCH_EDITOR=code
|