对比新文件 |
| | |
| | | # 开发环境:本地只启动前端项目,依赖开发环境(后端、APP) |
| | | NODE_ENV=test |
| | | |
| | | VITE_DEV=true |
| | | |
| | | # 请求路径 |
| | | VITE_BASE_URL='http://172.16.8.100' |
| | | |
| | | # 平台路径 |
| | | VITE_PLAT_URL='http://172.16.8.100' |
| | | |
| | | # 接口地址 |
| | | VITE_API_URL=/admin-api |
| | | |
| | | # 平台接口地址 |
| | | VITE_PLAT_API_URL=/admin-api |
| | | |
| | | # 是否删除debugger |
| | | VITE_DROP_DEBUGGER=false |
| | | |
| | | # 是否删除console.log |
| | | VITE_DROP_CONSOLE=false |
| | | |
| | | # 是否sourcemap |
| | | VITE_SOURCEMAP=true |
| | | |
| | | # 打包路径 |
| | | VITE_BASE_PATH=/energy |
| | | |
| | | # 输出路径 |
| | | VITE_OUT_DIR=dist |
| | | |
| | | # 验证码的开关 |
| | | VITE_APP_CAPTCHA_ENABLE=false |
| | | |
| | | |
| | |
| | | } |
| | | }, |
| | | { |
| | | path: '/callback', |
| | | component: () => import('@/views/Login/Callback.vue'), |
| | | name: 'Callback', |
| | | meta: { |
| | | hidden: true, |
| | | noTagsView: true |
| | | } |
| | | }, |
| | | { |
| | | path: '/home2', |
| | | component: () => import('@/views/Home/Index2.vue'), |
| | | name: 'Home2', |