@supermap/vue-iclient-mapboxgl
v11.1.1
Published
SuperMap iClient for Vue.js
Downloads
53
Readme
vue-iclient-mapboxgl
简介
- 官网:https://iclient.supermap.io
- 源码:https://github.com/SuperMap/vue-iclient
- 文档:https://iclient.supermap.io/web/apis/vue/zh/api/guide/installation.html
安装
npm install @supermap/vue-iclient-mapboxgl
开发
在 main.js 中写入以下内容:
import Vue from 'vue';
import VueiClient from '@supermap/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