mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-30 16:15:51 +08:00
移除@vicons
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import zhCn from 'element-plus/lib/locale/lang/zh-cn';
|
||||
import { IconConfigProvider } from '@vicons/utils';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Suspense>
|
||||
<el-config-provider :locale="zhCn">
|
||||
<IconConfigProvider size="18">
|
||||
<RouterView />
|
||||
</IconConfigProvider>
|
||||
<RouterView />
|
||||
</el-config-provider>
|
||||
</Suspense>
|
||||
</template>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { createApp } from 'vue';
|
||||
import { Icon } from '@vicons/utils';
|
||||
import { createPinia } from 'pinia';
|
||||
import router from './router';
|
||||
import App from './App.vue';
|
||||
@@ -10,7 +9,6 @@ import 'virtual:uno.css';
|
||||
const pinia = createPinia();
|
||||
|
||||
const app = createApp(App);
|
||||
app.component('Icon', Icon);
|
||||
app.use(router);
|
||||
app.use(pinia);
|
||||
app.mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user