Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/brandonxiang/vueleaflet

Vue components for Leaflet maps
https://github.com/brandonxiang/vueleaflet

components leaflet-map vite vitejs vue vue-components vue-leaflet

Last synced: 3 months ago
JSON representation

Vue components for Leaflet maps

Lists

README

        

# vue-leaflet



license








follow on Twitter

Here is Vue components for Leaflet maps, which is inspired by [react-leaflet](https://github.com/PaulLeCam/react-leaflet) and [vue-google-maps](https://github.com/GuillaumeLeclerc/vue-google-maps).

> A vue component for leaflet.js

This library is compatible with vue 3.0, and leaflet 1.9.x.

## Installation

```bash
npm install vueleaflet vue leaflet -save
```

## Startup

You can input some Vue-styled components in a .vue file in order to use leaflet.js, like [Layout.vue](src/Layout.vue).

```html











```

## Build Setup

```bash
# serve the example
npm run dev

# build the library
npm run build

# build the example
npm run build: example

```

## Contribute

PR Welcome

## License

[MIT](LICENSE)