@moyi.rk/template-vue-element-admin
Version:
vue2 element admin template
38 lines (31 loc) • 854 B
JavaScript
import variables from '@/styles/element-variables.scss'
export default {
theme: variables.theme,
/**
* @type {boolean} true | false
* @description Whether show the settings right-panel
*/
showSettings: true,
/**
* @type {boolean} true | false
* @description Whether need tagsView
*/
tagsView: true,
/**
* @type {boolean} true | false
* @description Whether fix the header
*/
fixedHeader: false,
/**
* @type {boolean} true | false
* @description Whether show the logo in sidebar
*/
sidebarLogo: 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'
}