JSPM

  • Created
  • Published
  • Downloads 493
  • Score
    100M100P100Q58557F
  • License MIT

Package Exports

  • w-leaflet-vue
  • w-leaflet-vue/dist/w-leaflet-vue.umd.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (w-leaflet-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

w-leaflet-vue

A wrapper for vue2-leaflet.

language language npm version license npm download npm download jsdelivr download

Documentation

To view documentation or get support, visit docs.

Example

To view some examples for more understanding, visit examples:

all examples: web [source code]

Installation

Using npm(ES6 module):

npm i w-leaflet-vue

In a browser(UMD module):

[Optional] Add script with nomodule for IE11.

<script nomodule src="https://cdn.jsdelivr.net/npm/@babel/polyfill/dist/polyfill.min.js"></script>

[Necessary] Add script for vue.

<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.min.js"></script>

[Necessary] Add script for w-leaflet-vue.

<script src="https://cdn.jsdelivr.net/npm/w-leaflet-vue@1.0.56/dist/w-leaflet-vue.umd.js"></script>