From 13e188e2e8167a593bc880f053bdfdf2a8f83ed0 Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Sat, 18 Nov 2023 11:02:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 21 ++++++++++++++++++++ main.js | 30 +++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 App.vue create mode 100644 index.html create mode 100644 main.js diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..b51eed2 --- /dev/null +++ b/App.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..d08c2db --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + + + + + + + + +
+ + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..37d93a7 --- /dev/null +++ b/main.js @@ -0,0 +1,30 @@ +import App from './App' + +// #ifndef VUE3 +import Vue from 'vue' +import store from './store' +import uView from '@/uni_modules/uview-ui' +Vue.use(uView) +import moment from 'moment' +Vue.prototype.$moment = moment +import './uni.promisify.adaptor' +Vue.config.productionTip = false +App.mpType = 'app' +const app = new Vue({ + ...App, + store +}) +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