应用配置(框架配置)文件为 apps/<app>/src/settings.ts ,以下是 专业版 演示源码的自定义配置示例:
import { } from '@fantastic-admin/settings'
export default ({
: {
: {
: true,
: true,
},
: true,
: true,
: true,
: true,
: true,
: {
: true,
: '2020-present',
: 'Fantastic-admin',
: 'https://fantastic-admin.hurui.me',
},
: {
: true,
: true,
: true,
: true,
: true,
: true,
},
},
: {
: 'dot',
: 'smart',
: true,
: true,
},
: {
: true,
: true,
: 'fixed',
},
: {
: 'fashion',
: true,
: true,
: true,
},
: {
: true,
: {
: 'modern',
: true,
},
: true,
: {
: true,
},
: true,
: true,
: true,
},
: {
: true,
: 9,
: 'slide-right',
},
})小技巧
文档中提供的配置介绍,如果在本地的开发环境使用中报错或者无法生效,说明你使用的版本不支持或者配置参数有变动,你可以查看 packages/settings 子包中的默认配置与类型定义作为参考。
并且如果你使用的是 Visual Studio Code ,鼠标悬浮到属性上时,会有属性的介绍:
