chore(@vben/web-naive): Import on demand

This commit is contained in:
Li Kui
2024-07-31 21:48:37 +08:00
parent 082847c441
commit 1c9525a013
4 changed files with 10 additions and 6 deletions

View File

@@ -5,8 +5,6 @@ import { initStores } from '@vben/stores';
import '@vben/styles';
import '@vben/styles/antd';
import naive from 'naive-ui';
import { setupI18n } from '#/locales';
import App from './app.vue';
@@ -27,8 +25,6 @@ async function bootstrap(namespace: string) {
// 配置路由及路由守卫
app.use(router);
app.use(naive);
app.mount('#app');
}