前端和后端源码,合并到一个git仓库中,方便用户下载,避免前后端不匹配的问题

This commit is contained in:
JEECG
2024-06-23 10:39:52 +08:00
parent bb918b742e
commit 0325e34dcb
1439 changed files with 171106 additions and 0 deletions

View 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;