- 添加Vite构建配置(vite.config.ts) - 添加UnoCSS原子化CSS配置(unocss.config.ts) - 添加ESLint代码检查配置(eslint.config.js) - 添加服务接口配置(service.config.ts)
13 lines
271 B
TypeScript
13 lines
271 B
TypeScript
/** 不同请求服务的环境配置 */
|
|
export const serviceConfig: Record<ServiceEnvType, Record<string, string>> = {
|
|
dev: {
|
|
url: 'http://localhost:18099',
|
|
},
|
|
test: {
|
|
url: 'http://localhost:18099',
|
|
},
|
|
prod: {
|
|
url: 'http://localhost:18099',
|
|
},
|
|
}
|