import App from './App' // #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' import uView from './uni_modules/vk-uview-ui'; Vue.use(uView); import unverified from '@/components/unverified.vue'; import insufficient from '@/components/insufficient.vue'; import share from '@/components/share.vue'; import dashan from '@/components/dashan.vue'; Vue.component('unverified', unverified) Vue.component('insufficient', insufficient) Vue.component('share', share) Vue.component('dashan', dashan) Vue.config.productionTip = false import api from '@/api/index.js' Vue.prototype.$api = api Vue.prototype.$articleShareUrl = "https://api.lyiyuan.cn/profile/upload/web/index.html#/pages/dongtai/detail?type=web&id=" 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