feat: 增加应用跟项目列表,包含增删改查功能

This commit is contained in:
wangxuefeng
2025-03-04 19:05:07 +08:00
parent a78d892a57
commit 2d202cd6d7
8 changed files with 61 additions and 13 deletions

View File

@@ -2,12 +2,20 @@ import { createApp } from "vue";
import "@sy/web-vitals";
import { IconsPlugin } from "@vtj/icons";
import { VueQueryPlugin } from "@tanstack/vue-query";
import * as VtjUI from "@vtj/ui";
import App from "./App.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import "@vtj/ui/dist/style.css";
createApp(App)
const app = createApp(App);
// 批量注册组件
Object.entries(VtjUI).forEach(([name, component]) => {
console.log("name", name, component);
app.component(name, component);
});
app
.use(ElementPlus)
.use(IconsPlugin)
.use(VueQueryPlugin)