From 0222d16a8ba5c5825362c03a5b3b410cd4fa40d1 Mon Sep 17 00:00:00 2001
From: sric <sirrcvip@126.com>
Date: 星期四, 20 十一月 2025 23:51:44 +0800
Subject: [PATCH] Merge branch 'master' of https://git.v-ji.com/git/r/yujiu_web
---
src/main.js | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
new file mode 100644
index 0000000..81ce8fc
--- /dev/null
+++ b/src/main.js
@@ -0,0 +1,20 @@
+import './assets/main.css';
+import './styles/tailwind.css';
+
+import { createApp } from 'vue';
+import { createPinia } from 'pinia';
+import * as ElementPlusIconsVue from '@element-plus/icons-vue';
+
+import App from './App.vue';
+import router from './router';
+
+const app = createApp(App);
+
+for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
+ app.component(key, component);
+}
+
+app.use(createPinia());
+app.use(router);
+
+app.mount('#root');
--
Gitblit v1.8.0