my-leaflet-ckkit

A Vue.js project

Usage no npm install needed!

<script type="module">
  import myLeafletCkkit from 'https://cdn.skypack.dev/my-leaflet-ckkit';
</script>

README

my-leaflet-ckkit

A plugin with Leaflet.js, dependence on Leaflet

Build Setup

# install dependencies
npm install my-leaflet-ckkit --save-dev

<my-leaflet style="width: 100%; height: 500px;" :tPoints="points"></my-leaflet>
points为经纬度坐标[[lat1,lot1],[lat2, lot2]...]

For detailed explanation on how things work, consult the docs for vue-loader.