lx-admin-frontend/src/settings.ts

79 lines
1.3 KiB
TypeScript
Raw Normal View History

import { LanguageEnum } from '@/enums/LanguageEnum';
2023-04-02 01:01:56 +08:00
const setting: DefaultSettings = {
2023-04-03 00:05:09 +08:00
/**
*
*/
title: import.meta.env.VITE_APP_TITLE,
theme: '#409EFF',
/**
* theme-darktheme-light
*/
sideTheme: 'theme-dark',
/**
*
*/
showSettings: true,
2023-04-03 00:05:09 +08:00
/**
*
*/
topNav: false,
/**
* tagsView
*/
tagsView: true,
/**
*
*/
fixedHeader: false,
/**
* logo
*/
sidebarLogo: true,
/**
*
*/
dynamicTitle: false,
/**
* @type {string | array} 'production' | ['production', 'development']
* @description Need show err logs component.
* The default is only used in the production env
* If you want to also use it in dev, you can pass ['production', 'development']
*/
errorLog: 'production',
2025-02-07 18:34:59 +08:00
/**
*
*/
2023-04-03 00:05:09 +08:00
animationEnable: false,
2025-02-07 18:34:59 +08:00
/**
*
*/
dark: false,
2025-02-07 18:34:59 +08:00
/**
*
*/
language: LanguageEnum.zh_CN,
2025-02-07 18:34:59 +08:00
/**
*
*/
size: 'default',
2025-02-07 18:34:59 +08:00
/**
*
*/
layout: ''
2023-04-02 01:01:56 +08:00
};
export default setting;