| | |
| | | import '@vben/styles/antd'; |
| | | |
| | | import { useTitle } from '@vueuse/core'; |
| | | |
| | | import ElementPlus from 'element-plus'; |
| | | import 'element-plus/dist/index.css'; // 样式文件 |
| | | import { setupGlobalComponent } from '#/components/global'; |
| | | import { $t, setupI18n } from '#/locales'; |
| | | |
| | | import { initComponentAdapter } from './adapter/component'; |
| | | import App from './app.vue'; |
| | | import { router } from './router'; |
| | | |
| | | import formCreate from '@form-create/element-ui'; |
| | | import FcDesigner from '@form-create/designer'; |
| | | async function bootstrap(namespace: string) { |
| | | // 初始化组件适配器 |
| | | await initComponentAdapter(); |
| | |
| | | |
| | | // 配置Motion插件 |
| | | app.use(MotionPlugin); |
| | | |
| | | app.use(ElementPlus); |
| | | app.use(formCreate); |
| | | app.use(FcDesigner); |
| | | // 动态更新标题 |
| | | watchEffect(() => { |
| | | if (preferences.app.dynamicTitle) { |