You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
6 months ago
|
/**
|
||
|
* 项目默认配置项
|
||
|
* primaryColor - 默认主题色, 如果修改颜色不生效,请清理 localStorage
|
||
|
* navTheme - sidebar theme ['dark', 'light'] 两种主题
|
||
|
* colorWeak - 色盲模式
|
||
|
* layout - 整体布局方式 ['sidemenu', 'topmenu'] 两种布局
|
||
|
* fixedHeader - 固定 Header : boolean
|
||
|
* fixSiderbar - 固定左侧菜单栏 : boolean
|
||
|
* contentWidth - 内容区布局: 流式 | 固定
|
||
|
*
|
||
|
* storageOptions: {} - Vue-ls 插件配置项 (localStorage/sessionStorage)
|
||
|
*
|
||
|
* @format
|
||
|
*/
|
||
|
|
||
|
export default {
|
||
|
navTheme: 'dark', // theme for nav menu
|
||
|
primaryColor: '#52C41A', // primary color of ant design
|
||
|
layout: 'sidemenu', // nav menu position: `sidemenu` or `topmenu`
|
||
|
contentWidth: 'Fluid', // layout of content: `Fluid` or `Fixed`, only works when layout is topmenu
|
||
|
fixedHeader: false, // sticky header
|
||
|
fixSiderbar: false, // sticky siderbar
|
||
|
colorWeak: false,
|
||
|
menu: {
|
||
|
locale: true,
|
||
|
},
|
||
|
title: 'Ant Design Pro',
|
||
|
pwa: false,
|
||
|
iconfontUrl: '',
|
||
|
production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true',
|
||
|
};
|