mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-23 22:36:39 +08:00
前端和后端源码,合并到一个git仓库中,方便用户下载,避免前后端不匹配的问题
This commit is contained in:
22
jeecgboot-vue3/src/qiankun/apps.ts
Normal file
22
jeecgboot-vue3/src/qiankun/apps.ts
Normal file
@ -0,0 +1,22 @@
|
||||
// /**
|
||||
// *微应用apps
|
||||
// * @name: 微应用名称 - 具有唯一性
|
||||
// * @entry: 微应用入口.必选 - 通过该地址加载微应用,
|
||||
// * @container: 微应用挂载节点 - 微应用加载完成后将挂载在该节点上
|
||||
// * @activeRule: 微应用触发的路由规则 - 触发路由规则后将加载该微应用
|
||||
// */
|
||||
// //子应用列表
|
||||
// const _apps: object[] = [];
|
||||
// for (const key in import.meta.env) {
|
||||
// if (key.includes('VITE_APP_SUB_')) {
|
||||
// const name = key.split('VITE_APP_SUB_')[1];
|
||||
// const obj = {
|
||||
// name,
|
||||
// entry: import.meta.env[key],
|
||||
// container: '#content',
|
||||
// activeRule: name,
|
||||
// };
|
||||
// _apps.push(obj);
|
||||
// }
|
||||
// }
|
||||
// export const apps = _apps;
|
||||
Reference in New Issue
Block a user