f7ec47306c
- Removed redundant dropdown menu styles from various components and centralized them in a new `dropdown-menu.less` file. - Updated components to use the unified styles, ensuring consistency in appearance and behavior across the application. This change simplifies maintenance and enhances the visual coherence of dropdown menus.
24 lines
581 B
TypeScript
24 lines
581 B
TypeScript
import { createApp } from "vue";
|
|
import { createPinia } from "pinia";
|
|
import App from "./App.vue";
|
|
import router from "./router";
|
|
import "./assets/fonts.css";
|
|
import TDesign from "tdesign-vue-next";
|
|
// 引入组件库的少量全局样式变量
|
|
import "tdesign-vue-next/es/style/index.css";
|
|
import "@/assets/theme/theme.css";
|
|
import "@/assets/dropdown-menu.less";
|
|
import i18n from "./i18n";
|
|
import { initTheme } from "@/composables/useTheme";
|
|
|
|
initTheme();
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(TDesign);
|
|
app.use(createPinia());
|
|
app.use(router);
|
|
app.use(i18n);
|
|
|
|
app.mount("#app");
|