Browse Source

chore(vben5-platform): update `preferences.ts`

- Set `defaultHomePath` to `/workspace`
- Set Theme following system
- Set Theme radius  to `0.25`
- Hide the default notification widget
pull/1300/head
colin 6 months ago
parent
commit
75308055f7
  1. 8
      apps/vben5/apps/app-antd/src/preferences.ts

8
apps/vben5/apps/app-antd/src/preferences.ts

@ -9,7 +9,15 @@ export const overridesPreferences = defineOverridesPreferences({
// overrides
app: {
accessMode: 'backend',
defaultHomePath: '/workspace',
enableRefreshToken: true,
name: import.meta.env.VITE_APP_TITLE,
},
theme: {
mode: 'auto',
radius: '0.25',
},
widget: {
notification: false,
},
});

Loading…
Cancel
Save