- 官网:https://iclient.supermap.io
- 源码:https://github.com/SuperMap/vue-iclient
- 文档:https://iclient.supermap.io/web/apis/vue/zh/api/guide/installation.html
npm install @supermapgis/vue-iclient-mapboxgl
在 main.js 中写入以下内容:
import Vue from 'vue';
import VueiClient from '@supermapgis/vue-iclient-mapboxgl';
import App from './App.vue';
Vue.use(VueiClient);
new Vue({
el: '#app',
render: h => h(App)
});
https://iclient.supermap.io/examples/component/examples.html#vuecomponents_mbgl