mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
合并样式文件:将多个样式文件合并为单一导入,简化样式管理,提升代码可维护性。
This commit is contained in:
+2
-9
@@ -40,15 +40,8 @@ import CronField from './components/field/CronField.vue'
|
|||||||
import PathField from './components/field/PathField.vue'
|
import PathField from './components/field/PathField.vue'
|
||||||
import HeaderTab from './layouts/components/HeaderTab.vue'
|
import HeaderTab from './layouts/components/HeaderTab.vue'
|
||||||
|
|
||||||
// 7. 样式文件
|
// 7. 样式文件 - 合并为单一导入
|
||||||
import '@core/scss/template/libs/vuetify/index.scss'
|
import '@/styles/main.scss'
|
||||||
import 'vuetify/styles'
|
|
||||||
import '@core/scss/template/index.scss'
|
|
||||||
import '@layouts/styles/index.scss'
|
|
||||||
import 'vue-toast-notification/dist/theme-bootstrap.css'
|
|
||||||
import 'vue3-perfect-scrollbar/style.css'
|
|
||||||
import '@vue-js-cron/vuetify/dist/vuetify.css'
|
|
||||||
import '@styles/styles.scss'
|
|
||||||
|
|
||||||
// 创建Vue实例
|
// 创建Vue实例
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
/* 主样式文件 - 合并所有CSS/SCSS引用 */
|
||||||
|
|
||||||
|
/* Vuetify和模板核心样式 */
|
||||||
|
@use '@core/scss/template/libs/vuetify/index' as vuetify-lib;
|
||||||
|
@use '@core/scss/template/index' as template;
|
||||||
|
@use '@layouts/styles/index' as layouts;
|
||||||
|
@use 'vuetify/styles' as vuetify;
|
||||||
|
@use '@styles/custom' as custom;
|
||||||
|
|
||||||
|
/* 第三方库纯CSS样式 */
|
||||||
|
@import 'vue-toast-notification/dist/theme-bootstrap.css';
|
||||||
|
@import 'vue3-perfect-scrollbar/style.css';
|
||||||
|
@import '@vue-js-cron/vuetify/dist/vuetify.css';
|
||||||
Reference in New Issue
Block a user