|
@@ -5,8 +5,9 @@ import { registerLoadingDirective } from '@vben/common-ui/es/loading';
|
|
|
import { preferences } from '@vben/preferences';
|
|
import { preferences } from '@vben/preferences';
|
|
|
import { initStores } from '@vben/stores';
|
|
import { initStores } from '@vben/stores';
|
|
|
import '@vben/styles';
|
|
import '@vben/styles';
|
|
|
-import '@vben/styles/antd';
|
|
|
|
|
-
|
|
|
|
|
|
|
+// import '@vben/styles/antd';
|
|
|
|
|
+// 引入组件库的少量全局样式变量
|
|
|
|
|
+import 'tdesign-vue-next/es/style/index.css';
|
|
|
import { useTitle } from '@vueuse/core';
|
|
import { useTitle } from '@vueuse/core';
|
|
|
|
|
|
|
|
import { $t, setupI18n } from '#/locales';
|
|
import { $t, setupI18n } from '#/locales';
|
|
@@ -16,8 +17,6 @@ import { initSetupVbenForm } from './adapter/form';
|
|
|
import App from './app.vue';
|
|
import App from './app.vue';
|
|
|
import { router } from './router';
|
|
import { router } from './router';
|
|
|
|
|
|
|
|
-// 引入组件库的少量全局样式变量
|
|
|
|
|
-
|
|
|
|
|
async function bootstrap(namespace: string) {
|
|
async function bootstrap(namespace: string) {
|
|
|
// 初始化组件适配器
|
|
// 初始化组件适配器
|
|
|
await initComponentAdapter();
|
|
await initComponentAdapter();
|