修改
This commit is contained in:
@@ -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> -->
|
||||
|
||||
@@ -250,6 +250,6 @@ watch(
|
||||
)
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
@import "./AdminSidebarLayout.scss";
|
||||
</style>
|
||||
@@ -268,6 +268,6 @@ watch(
|
||||
)
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
@import "./SidebarLayout.scss";
|
||||
</style>
|
||||
@@ -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/'
|
||||
|
||||
Reference in New Issue
Block a user