feat: 新增暗黑模式
Former-commit-id: 394eede049c4c4c533bbb248239d44c75b6f8492
This commit is contained in:
@@ -4,7 +4,7 @@ import router from '@/router';
|
|||||||
import { setupStore } from '@/store';
|
import { setupStore } from '@/store';
|
||||||
|
|
||||||
import ElementPlus from 'element-plus';
|
import ElementPlus from 'element-plus';
|
||||||
import 'element-plus/theme-chalk/index.css';
|
|
||||||
import Pagination from '@/components/Pagination/index.vue';
|
import Pagination from '@/components/Pagination/index.vue';
|
||||||
import '@/permission';
|
import '@/permission';
|
||||||
|
|
||||||
@@ -14,8 +14,9 @@ import 'virtual:svg-icons-register';
|
|||||||
// 国际化
|
// 国际化
|
||||||
import i18n from '@/lang/index';
|
import i18n from '@/lang/index';
|
||||||
|
|
||||||
// 自定义样式
|
|
||||||
import '@/styles/index.scss';
|
import '@/styles/index.scss';
|
||||||
|
import 'element-plus/theme-chalk/index.css';
|
||||||
|
import 'element-plus/theme-chalk/dark/css-vars.css';
|
||||||
|
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
// 自定义指令
|
// 自定义指令
|
||||||
|
|||||||
Reference in New Issue
Block a user