This commit is contained in:
2026-01-08 14:01:27 +08:00
parent 5190a0cc9c
commit 8e86f244c6
10 changed files with 25 additions and 32 deletions

View File

@@ -5,7 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/favicon.ico">
<title>泰豪电源 AI 数智化平台</title>
<!-- 引入 shared 模块的样式Module Federation 远程模块样式) -->
<link rel="stylesheet" href="/shared/assets/shared-styles.css">
<!-- 加载运行时配置(必须在其他脚本之前加载) -->
<script src="/app-config.js"></script>
<!-- <script src="/app-config.local.js"></script> -->

View File

@@ -250,6 +250,6 @@ watch(
)
</script>
<style lang="scss" scoped>
<style lang="scss">
@import "./AdminSidebarLayout.scss";
</style>

View File

@@ -268,6 +268,6 @@ watch(
)
</script>
<style lang="scss" scoped>
<style lang="scss">
@import "./SidebarLayout.scss";
</style>

View File

@@ -5,8 +5,8 @@ import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 导入 shared 的全局样式Module Federation 远程模块样式)
import 'shared/styles'
// 注意:shared 的样式现在通过 index.html 中的 <link> 标签加载
// 不再需要在这里导入:import 'shared/styles'
import App from './App.vue'
import router from './router/'