import App from './App' // #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App }) import api from '@/api/index.js' Vue.prototype.$api = api import BaiduMap from 'vue-baidu-map' Vue.use(BaiduMap, { ak: 'BwmbDjuqGo32HuhiKflDnbkZHfC8k0EX' }) import "animate.css"; import 'animate.css/animate.compat.css'; app.$mount() // #endif // #ifdef VUE3 import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) return { app } } // #endif