Download apps/web-naive/src/preferences.ts from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 518 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/apps/web-naive/src/preferences.ts
- Command line
-
hf download hf://spaces/binhugg3/admin/apps/web-naive/src/preferences.ts
-
curl -L -o preferences.ts https://huggingface.co/spaces/binhugg3/admin/resolve/main/apps/web-naive/src/preferences.ts
518 Bytes
| import { defineOverridesPreferences } from '@vben/preferences'; | |
| /** | |
| * @description 项目配置文件 | |
| * 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置 | |
| * !!! 更改配置后请清空缓存,否则可能不生效 | |
| */ | |
| export const overridesPreferences = defineOverridesPreferences({ | |
| // overrides | |
| app: { | |
| name: import.meta.env.VITE_APP_TITLE, | |
| // 使用后端动态菜单,登录后从 /admin/auth/menus 获取 | |
| accessMode: 'backend', | |
| }, | |
| }); | |