This commit is contained in:
唐明明
2021-09-23 17:03:28 +08:00
parent d4bd0ac010
commit 08c56ea921
245 changed files with 40734 additions and 80 deletions

35
main.js
View File

@@ -1,21 +1,26 @@
import App from './App'
// #ifndef VUE3
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
import { router, RouterMount } from './router'
import store from './store'
import uView from 'uview-ui'
Vue.use(router)
Vue.use(uView);
Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
...App
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
// #endif