mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
🔱: [client] sync upgrade with 5 commits [trident-sync]
build: publish success perf: antdv 异步加载,加快首页打开速度 perf: 精简lodash chore: 兼容手机版
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { createApp } from "vue";
|
||||
import App from "./App.vue";
|
||||
import Antd from "ant-design-vue";
|
||||
// import Antd from "ant-design-vue";
|
||||
import Antd from "./plugin/antdv-async/index";
|
||||
import "./style/common.less";
|
||||
import i18n from "./i18n";
|
||||
import components from "./components";
|
||||
import router from "./router";
|
||||
import store from "./store";
|
||||
import plugin from "./plugin/";
|
||||
// 正式项目请删除mock,避免影响性能
|
||||
import "./mock";
|
||||
@@ -15,6 +15,7 @@ import { initPreferences } from "/@/vben/preferences";
|
||||
// @ts-ignore
|
||||
async function bootstrap() {
|
||||
const app = createApp(App);
|
||||
// app.use(Antd);
|
||||
app.use(Antd);
|
||||
await setupVben(app);
|
||||
app.use(router);
|
||||
|
||||
Reference in New Issue
Block a user