From 5abba695b2b0414929cc0922642e711a6d597c7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tran=20Van=20Dung/=28Tran=20Van=20Dung=29/=ED=98=84?=
=?UTF-8?q?=EC=9E=A5=EB=8C=80=EB=A6=AC=EC=9D=B8/SK?= <20074470@skcc.com>
Date: Tue, 19 Aug 2025 13:43:44 +0700
Subject: [PATCH 1/2] optimize-css
---
assets/scss/common.scss | 12 ------------
assets/scss/theme.scss | 7 -------
components/common/AdminMenu.vue | 1 -
components/common/Calendar.vue | 2 --
components/common/Datepicker.vue | 2 --
components/common/DatepickerTimeSelectBox.vue | 1 -
components/common/DatepickerTopView.vue | 2 --
components/common/DatepickerWidget.vue | 2 --
components/common/PastRsltDatePicker.vue | 2 --
components/common/modal/ElecPowChrgPop.vue | 1 -
components/common/modal/EnrgEffcEqpmDetailPop.vue | 1 -
components/common/modal/EnrgEffcGdIdxDetPop.vue | 1 -
layouts/default.vue | 1 -
nuxt.config.js | 6 +++---
pages/ems/base/AddInfoMngPage.vue | 3 ---
pages/ems/base/ReadObjectMngPage.vue | 1 -
pages/ems/effc/EnrgEffcTotSummPage.vue | 12 ------------
pages/ems/effc/EnrgUsePlanPage.vue | 2 --
pages/ems/effc/TagTrndPage.vue | 1 -
pages/login/index.vue | 2 --
20 files changed, 3 insertions(+), 59 deletions(-)
diff --git a/assets/scss/common.scss b/assets/scss/common.scss
index 0ae7289..f624b36 100644
--- a/assets/scss/common.scss
+++ b/assets/scss/common.scss
@@ -1,17 +1,5 @@
// router-tab (header)
-@import "./var.scss";
@import "./mixin.scss";
-@import "./common/fonts.scss";
-@import "./common/text.scss";
-@import "./common/input.scss";
-@import "./common/button.scss";
-@import "./common/grid.scss";
-@import "./common/card.scss";
-@import "./common/tabs.scss";
-@import "./common/numericInput.scss";
-@import "./common/pagination.scss";
-@import "./common/editor.scss";
-
html,
body {
diff --git a/assets/scss/theme.scss b/assets/scss/theme.scss
index 51fcc95..062990b 100644
--- a/assets/scss/theme.scss
+++ b/assets/scss/theme.scss
@@ -1,10 +1,3 @@
-// @import './var.scss';
-// @import './functions.scss';
-// @import './mixin.scss';
-
-
-
-
// @each $theme in dark, light{
// @include theme($theme);
// .v-application.#{$theme}-mode{
diff --git a/components/common/AdminMenu.vue b/components/common/AdminMenu.vue
index e6691ec..96b3806 100644
--- a/components/common/AdminMenu.vue
+++ b/components/common/AdminMenu.vue
@@ -112,7 +112,6 @@ export default {
};
diff --git a/nuxt.config.js b/nuxt.config.js
index a878b91..beed21e 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -58,9 +58,9 @@ module.exports = {
// Modules: https://go.nuxtjs.dev/config-modules
modules: ['@nuxtjs/axios', '@nuxtjs/dayjs', '@nuxtjs/style-resources' ],
- styleResources: {
- scss: ['./assets/scss/*.scss'],
- },
+ // styleResources: {
+ // scss: ['./assets/scss/*.scss'],
+ // },
proxy: {
"/api/": {
target: "http://0.0.0.0:9999/",
diff --git a/pages/ems/base/AddInfoMngPage.vue b/pages/ems/base/AddInfoMngPage.vue
index 55d8139..bbed97a 100644
--- a/pages/ems/base/AddInfoMngPage.vue
+++ b/pages/ems/base/AddInfoMngPage.vue
@@ -626,6 +626,3 @@ const myDetail = [
},
];
-
diff --git a/pages/ems/base/ReadObjectMngPage.vue b/pages/ems/base/ReadObjectMngPage.vue
index 4f8a11c..1bf102c 100644
--- a/pages/ems/base/ReadObjectMngPage.vue
+++ b/pages/ems/base/ReadObjectMngPage.vue
@@ -855,7 +855,6 @@ const myDetail = [
];
diff --git a/pages/ems/effc/EnrgUsePlanPage.vue b/pages/ems/effc/EnrgUsePlanPage.vue
index e86ff17..71b48f6 100644
--- a/pages/ems/effc/EnrgUsePlanPage.vue
+++ b/pages/ems/effc/EnrgUsePlanPage.vue
@@ -819,8 +819,6 @@ const defaultData = {
};