Vue Leaflet Next
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.
- replace mixins with composition API
- use provide/inject instead of
findRealParent
- simplify simplify and simplify the old codebase
- SSR compatible from the get-go
- a playground page with a working map
- example on how we should build the functions
yarn - recommend
# Install dependencies
yarn
# Server with hot reload at localhost:8080
yarn run dev
# Build for production with minification
yarn run build
- For detailed explanation on how things work, consult the docs for vue-loader.
MIT © Nicolò Maria Mezzopera [email protected]