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.
23 lines
509 B
23 lines
509 B
import Vue from 'vue'
|
|
import App from './App'
|
|
// import uView from "uview-ui";
|
|
|
|
import BaiduMap from 'vue-baidu-map'
|
|
import {BmlMarkerClusterer} from 'vue-baidu-map'
|
|
|
|
Vue.component('bml-marker-cluster', BmlMarkerClusterer)
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
App.mpType = 'app'
|
|
|
|
// Vue.use(uView);
|
|
Vue.use(BaiduMap, {
|
|
// ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
|
|
ak: 'xxxxxxxxxxxxxxxxxxxxxxxx'
|
|
})
|
|
|
|
const app = new Vue({
|
|
...App
|
|
})
|
|
app.$mount()
|
|
|