You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
689 B
33 lines
689 B
/** |
|
* @name Config |
|
* @description 项目配置 |
|
*/ |
|
|
|
// 应用名 |
|
export const APP_TITLE = 'Vite-Vue3-Admin'; |
|
|
|
// 本地服务端口 |
|
export const VITE_PORT = 3000; |
|
|
|
// prefix |
|
export const API_PREFIX = '/api'; |
|
|
|
// serve |
|
export const API_BASE_URL = '/api'; |
|
export const API_TARGET_URL = 'http://localhost:8080'; |
|
|
|
// mock |
|
export const MOCK_API_BASE_URL = '/mock/api'; |
|
export const MOCK_API_TARGET_URL = 'http://localhost:3000'; |
|
|
|
// iconfontUrl |
|
export const ICONFONTURL = '//at.alicdn.com/t/font_3004192_9jmc1z9neiw.js'; // 去色版 |
|
|
|
// 包依赖分析 |
|
export const ANALYSIS = true; |
|
|
|
// 代码压缩 |
|
export const COMPRESSION = true; |
|
|
|
// 删除 console |
|
export const VITE_DROP_CONSOLE = true;
|
|
|