refactor: element-plus自动导入移除完全导入配置
This commit is contained in:
parent
90c9d83fe3
commit
5aac2de2eb
|
|
@ -3,8 +3,6 @@ import App from './App.vue';
|
||||||
import router from '@/router';
|
import router from '@/router';
|
||||||
import { setupStore } from '@/store';
|
import { setupStore } from '@/store';
|
||||||
|
|
||||||
import ElementPlus from 'element-plus';
|
|
||||||
|
|
||||||
import '@/permission';
|
import '@/permission';
|
||||||
|
|
||||||
// 本地SVG图标
|
// 本地SVG图标
|
||||||
|
|
@ -14,7 +12,6 @@ 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';
|
import 'element-plus/theme-chalk/dark/css-vars.css';
|
||||||
|
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
|
|
@ -30,4 +27,4 @@ app.config.globalProperties.$getDictionaries = getDictionaries;
|
||||||
|
|
||||||
// 全局挂载
|
// 全局挂载
|
||||||
setupStore(app);
|
setupStore(app);
|
||||||
app.use(router).use(ElementPlus).use(i18n).mount('#app');
|
app.use(router).use(i18n).mount('#app');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue