先拓企业站
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.
xiantuo/main.js

31 lines
573 B

3 months ago
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