| | |
| | | import { initStores } from '@vben/stores'; |
| | | import '@vben/styles'; |
| | | import '@vben/styles/antd'; |
| | | |
| | | import * as ElementPlusIconsVue from '@element-plus/icons-vue'; |
| | | import { useTitle } from '@vueuse/core'; |
| | | import ElementPlus from 'element-plus'; |
| | | import 'element-plus/dist/index.css'; // 样式文件 |
| | |
| | | app.use(formCreate); |
| | | app.use(FcDesigner); |
| | | app.use(Antd); |
| | | for (const [key, component] of Object.entries(ElementPlusIconsVue)) { |
| | | app.component(key, component); |
| | | } |
| | | // 动态更新标题 |
| | | watchEffect(() => { |
| | | if (preferences.app.dynamicTitle) { |