2021-03-28 21:22:00 +08:00
|
|
|
|
// .fes.js 只负责管理编译时配置,只能使用plain Object
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
access: {
|
|
|
|
|
roles: {
|
2022-11-29 11:12:51 +08:00
|
|
|
|
admin: ['*'],
|
|
|
|
|
},
|
2021-03-28 21:22:00 +08:00
|
|
|
|
},
|
|
|
|
|
layout: {
|
2022-11-29 11:12:51 +08:00
|
|
|
|
title: 'vite 主应用',
|
2022-01-04 16:19:17 +08:00
|
|
|
|
footer: 'Created by MumbleFE',
|
2021-03-28 21:22:00 +08:00
|
|
|
|
multiTabs: false,
|
|
|
|
|
navigation: 'mixin',
|
2022-11-29 11:12:51 +08:00
|
|
|
|
menus: [
|
|
|
|
|
{
|
|
|
|
|
name: 'index',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'webpack子应用',
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name: 'webpack-micro-index',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'webpack-micro-test',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'vite子应用',
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name: 'vite-micro-index',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'vite-micro-test',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
2021-03-28 21:22:00 +08:00
|
|
|
|
},
|
|
|
|
|
qiankun: {
|
|
|
|
|
main: {
|
|
|
|
|
apps: [
|
|
|
|
|
{
|
2022-11-29 11:12:51 +08:00
|
|
|
|
name: 'webpack-micro', // 唯一 id
|
|
|
|
|
entry: '//localhost:9001', // html entry
|
|
|
|
|
props: {}, // 传递给子应用的数据
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'vite-micro', // 唯一 id
|
2021-03-28 21:22:00 +08:00
|
|
|
|
entry: '//localhost:8001', // html entry
|
2022-11-29 11:12:51 +08:00
|
|
|
|
props: {}, // 传递给子应用的数据
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2021-03-28 21:22:00 +08:00
|
|
|
|
},
|
|
|
|
|
plugins: [
|
|
|
|
|
require.resolve('../../../fes-plugin-model/lib'),
|
|
|
|
|
require.resolve('../../../fes-plugin-layout/lib'),
|
|
|
|
|
require.resolve('../../../fes-plugin-access/lib'),
|
2022-05-11 17:53:57 +08:00
|
|
|
|
],
|
2021-03-28 21:22:00 +08:00
|
|
|
|
};
|