2020-12-22 17:54:46 +08:00
|
|
|
|
// .fes.js 只负责管理编译时配置,只能使用plain Object
|
2020-11-02 09:51:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
2020-12-23 15:52:22 +08:00
|
|
|
|
base: '/foo/',
|
|
|
|
|
define: {
|
2021-02-05 11:43:24 +08:00
|
|
|
|
__DEV__: false
|
2020-12-23 15:52:22 +08:00
|
|
|
|
},
|
|
|
|
|
publicPath: '/',
|
2020-12-14 20:38:01 +08:00
|
|
|
|
access: {
|
|
|
|
|
roles: {
|
2021-03-01 12:32:29 +08:00
|
|
|
|
admin: ["/", "/onepiece", '/store']
|
2020-12-14 20:38:01 +08:00
|
|
|
|
}
|
2020-12-18 18:23:00 +08:00
|
|
|
|
},
|
2021-02-22 15:04:04 +08:00
|
|
|
|
request: {
|
|
|
|
|
dataField: 'result'
|
|
|
|
|
},
|
2021-02-04 13:43:16 +08:00
|
|
|
|
mock: {
|
|
|
|
|
prefix: '/v2'
|
|
|
|
|
},
|
|
|
|
|
proxy: {
|
|
|
|
|
'/v2': {
|
|
|
|
|
'target': 'https://api.douban.com/',
|
|
|
|
|
'changeOrigin': true,
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-12-18 18:23:00 +08:00
|
|
|
|
layout: {
|
2020-12-22 17:54:46 +08:00
|
|
|
|
title: "Fes.js",
|
2021-02-02 15:33:15 +08:00
|
|
|
|
footer: 'Created by MumbelFe',
|
2021-01-12 17:36:00 +08:00
|
|
|
|
multiTabs: false,
|
2020-12-18 18:23:00 +08:00
|
|
|
|
menus: [{
|
2020-12-22 17:54:46 +08:00
|
|
|
|
name: 'index'
|
|
|
|
|
}, {
|
|
|
|
|
name: 'onepiece'
|
2021-02-04 21:36:51 +08:00
|
|
|
|
}, {
|
|
|
|
|
name: 'store'
|
2021-02-22 15:04:04 +08:00
|
|
|
|
}, {
|
|
|
|
|
name: 'simpleList'
|
2020-12-18 18:23:00 +08:00
|
|
|
|
}]
|
2020-12-19 15:59:38 +08:00
|
|
|
|
},
|
2021-01-14 19:09:59 +08:00
|
|
|
|
locale: {
|
|
|
|
|
legacy: true
|
|
|
|
|
},
|
2020-12-19 15:59:38 +08:00
|
|
|
|
devServer: {
|
|
|
|
|
port: 8080
|
2021-01-25 16:22:14 +08:00
|
|
|
|
},
|
|
|
|
|
enums: {
|
2021-01-26 16:14:42 +08:00
|
|
|
|
status: [['0', '无效的'], ['1', '有效的']]
|
2021-02-04 21:36:51 +08:00
|
|
|
|
},
|
|
|
|
|
vuex: {
|
|
|
|
|
strict: true
|
2020-12-14 20:38:01 +08:00
|
|
|
|
}
|
2020-11-02 09:51:40 +08:00
|
|
|
|
};
|