feat: 基础配置

This commit is contained in:
2025-05-10 02:03:44 +08:00
parent 44dfee367b
commit 13875be505
3 changed files with 12 additions and 12 deletions

View File

@@ -9,5 +9,14 @@ export const overridesPreferences = defineOverridesPreferences({
// overrides
app: {
name: import.meta.env.VITE_APP_TITLE,
layout: 'sidebar-mixed-nav',
},
sidebar: {
width: 220,
},
theme: {
builtinType: 'violet',
colorPrimary: 'hsl(245 82% 67%)',
mode: 'auto',
},
});

View File

@@ -5,8 +5,8 @@ export default defineConfig(async () => {
application: {},
vite: {
server: {
port: 8866,
proxy: {
port: 8866,
'/api': {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),