mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
62 lines
1.2 KiB
JavaScript
62 lines
1.2 KiB
JavaScript
// .fes.js 只负责管理编译时配置,只能使用plain Object
|
||
|
||
|
||
export default {
|
||
base: '/foo/',
|
||
define: {
|
||
__DEV__: false
|
||
},
|
||
html: {
|
||
title: '海贼王'
|
||
},
|
||
publicPath: '/',
|
||
access: {
|
||
roles: {
|
||
admin: ["/", "https://www.baidu.com"]
|
||
}
|
||
},
|
||
request: {
|
||
dataField: 'result'
|
||
},
|
||
mock: {
|
||
prefix: '/v2'
|
||
},
|
||
proxy: {
|
||
'/v2': {
|
||
'target': 'https://api.douban.com/',
|
||
'changeOrigin': true,
|
||
},
|
||
},
|
||
layout: {
|
||
title: "Fes.js",
|
||
footer: 'Created by MumbelFe',
|
||
multiTabs: false,
|
||
navigation: 'mixin',
|
||
menus: [{
|
||
name: 'index',
|
||
icon: 'user'
|
||
}, {
|
||
name: 'onepiece',
|
||
icon: 'user',
|
||
path: 'https://www.baidu.com'
|
||
}, {
|
||
name: 'store'
|
||
}, {
|
||
name: 'simpleList'
|
||
}]
|
||
},
|
||
locale: {
|
||
legacy: true
|
||
},
|
||
devServer: {
|
||
port: 8080
|
||
},
|
||
enums: {
|
||
status: [['0', '无效的'], ['1', '有效的']]
|
||
},
|
||
vuex: {
|
||
strict: true
|
||
},
|
||
dynamicImport: true
|
||
};
|