29 lines
469 B
JavaScript
29 lines
469 B
JavaScript
import App from './App'
|
|
|
|
// #ifndef VUE3
|
|
import Vue from 'vue'
|
|
import './uni.promisify.adaptor'
|
|
import msg from "./utils/msg.js"
|
|
Vue.config.productionTip = false
|
|
App.mpType = 'app'
|
|
Vue.prototype.$msg = msg
|
|
import uviewPlus from 'uview-plus'
|
|
|
|
|
|
const app = new Vue({
|
|
...App
|
|
})
|
|
app.use(uviewPlus)
|
|
app.$mount()
|
|
// #endif
|
|
|
|
// #ifdef VUE3
|
|
import { createSSRApp } from 'vue'
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
|
|
return {
|
|
app
|
|
}
|
|
}
|
|
// #endif
|