| 123456789101112131415161718192021222324252627282930 |
- // #ifndef VUE3
- import Vue from 'vue'
- import App from './App'
- import { http } from './http/http'
- Vue.config.productionTip = false
- Vue.prototype.$http = http
- App.mpType = 'app'
-
- import method from '@/common/methodTool'
- Vue.prototype.$method = method
- const app = new Vue({
- ...App
- })
- app.$mount()
- // #endif
- // #ifdef VUE3
- import { createSSRApp } from 'vue'
- import App from './App.vue'
- export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
- }
- // #endif
|