Files
BlockChainH5/main.js
唐明明 08c56ea921 init
2021-09-23 17:03:28 +08:00

27 lines
496 B
JavaScript

import App from './App'
// #ifndef VUE3
import Vue from 'vue'
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.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif