feat: 基础配置
This commit is contained in:
@@ -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',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -5,8 +5,8 @@ export default defineConfig(async () => {
|
||||
application: {},
|
||||
vite: {
|
||||
server: {
|
||||
port: 8866,
|
||||
proxy: {
|
||||
port: 8866,
|
||||
'/api': {
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
|
||||
Reference in New Issue
Block a user