From 01d453a6d5a751a78eab5f56ad0f35a0a2ebf281 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 17 一月 2024 16:01:48 +0800
Subject: [PATCH] #

---
 main.js |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/main.js b/main.js
new file mode 100644
index 0000000..9a38f4b
--- /dev/null
+++ b/main.js
@@ -0,0 +1,26 @@
+import App from './App'
+
+// #ifndef VUE3
+import Vue from 'vue'
+import uView from './uni_modules/uview-ui/index.js'
+import store from './store'
+import './uni.promisify.adaptor'
+Vue.config.productionTip = false
+Vue.prototype.$store = store
+App.mpType = 'app'
+const app = new Vue({
+	store,
+  ...App
+})
+app.$mount()
+// #endif
+
+// #ifdef VUE3
+import { createSSRApp } from 'vue'
+export function createApp() {
+  const app = createSSRApp(App)
+  return {
+    app
+  }
+}
+// #endif
\ No newline at end of file

--
Gitblit v1.9.1