You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
588 B
37 lines
588 B
import App from './App'
|
|
import store from '@/store/store.js'
|
|
import ios from '@/ios/index.js'
|
|
import lib from "./common/lib.js"
|
|
// #ifndef VUE3
|
|
import Vue from 'vue'
|
|
// Vue.prototype.$onLaunched = new Promise(resolve => {
|
|
// Vue.prototype.$isResolve = resolve
|
|
// })
|
|
|
|
Vue.config.productionTip = false
|
|
// Vue.prototype.lib=lib
|
|
// Vue.use(fb);
|
|
App.mpType = 'app'
|
|
const app = new Vue({
|
|
...App,
|
|
store,
|
|
ios,
|
|
lib,
|
|
})
|
|
|
|
|
|
|
|
app.$mount()
|
|
// #endif
|
|
|
|
// #ifdef VUE3
|
|
import {
|
|
createSSRApp
|
|
} from 'vue'
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
return {
|
|
app
|
|
}
|
|
}
|
|
// #endif
|
|
|