fes.js/packages/fes-template/.fes.js

35 lines
676 B
JavaScript
Raw Normal View History

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: {
2020-12-27 19:57:02 +08:00
__DEV__: false
2020-12-23 15:52:22 +08:00
},
publicPath: '/',
2020-12-14 20:38:01 +08:00
access: {
roles: {
2020-12-22 17:54:46 +08:00
admin: ["/", "/onepiece"]
2020-12-14 20:38:01 +08:00
}
2020-12-18 18:23:00 +08:00
},
layout: {
2020-12-22 17:54:46 +08:00
title: "Fes.js",
logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
multiTabs: false,
2020-12-18 18:23:00 +08:00
menus: [{
2020-12-22 17:54:46 +08:00
name: 'index'
}, {
name: 'onepiece'
2020-12-18 18:23:00 +08:00
}]
2020-12-19 15:59:38 +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: {
status: [['1', '有效的'], ['0', '无效的']]
2020-12-14 20:38:01 +08:00
}
2020-11-02 09:51:40 +08:00
};