mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
feat(web): 初始化主页面和监控页面
- 新增 MainView 组件,包含 header、menu 和 page 区域 - 新增 monitor 子页面组件 - 更新路由配置,添加主页面和监控页面路由 - 新增全局样式文件,统一颜色和样式 - 优化 App.vue 样式,移除最小宽高限制
This commit is contained in:
@@ -37,7 +37,10 @@ module.exports = defineConfig({
|
||||
css: {
|
||||
loaderOptions: {
|
||||
scss: {
|
||||
additionalData: `@use "~@/style/color.scss";`
|
||||
additionalData: `
|
||||
@use "~@/style/color.scss";
|
||||
@use "~@/style/antd.scss";
|
||||
` //在每个 .scss 文件顶部自动添加这行代码,无需手动导入
|
||||
}
|
||||
},
|
||||
extract: {
|
||||
|
||||
Reference in New Issue
Block a user