Skip to content

dpatekar/vue-leaflet

 
 

Repository files navigation

vue-leaflet

Vue Leaflet Next

Description

This repo contains the WIP to rewrite the vue2-leaflet codebase for vue3 this is High experimental and can be broken at any time, is not actually working as a plugin for now. The aim is to experiment with various techniques and architectures for vue3.

Current architecture

  • replace mixins with composition API
  • use provide/inject instead of findRealParent
  • simplify simplify and simplify the old codebase
  • SSR compatible from the get-go

What is available now

  • a playground page with a working map
  • example on how we should build the functions

Build setup

yarn - recommend

# Install dependencies
yarn

# Server with hot reload at localhost:8080
yarn run dev

# Build for production with minification
yarn run build

Reference

License

MIT © Nicolò Maria Mezzopera [email protected]

About

vue-leaflet compatible with vue3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.6%
  • Vue 42.5%
  • HTML 0.9%