You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release drops the old `leaflet-runtime.ts` to take advantage of the [Vue Leaflet behavior](https://github.com/vue-leaflet/vue-leaflet/blob/db34dff79cc62bc6fa51357e953e9bcf55725c94/src/components/LMap.vue#L250-L256) when importing Leaflet.
6
18
This prevent Leaflet from being imported literally everywhere in the app, even if it isn't used.
-**Auto-import Leaflet as L:**[v1.0.3](https://github.com/Gugustinette/Nuxt-Leaflet/commit/67f25f8c8cf59e1c89711e7a938dd292d4e358df#diff-082d2c8211be1dd40cb6dc5a124074d5bb825b41568250ce265dfa4d3e0c601a)
-**Auto-import Leaflet as L:**[v1.0.3](https://github.com/nuxt-modules/leaflet/commit/67f25f8c8cf59e1c89711e7a938dd292d4e358df#diff-082d2c8211be1dd40cb6dc5a124074d5bb825b41568250ce265dfa4d3e0c601a)
@@ -23,14 +23,14 @@ This module is really just about making it work with Nuxt 3 without the need to
23
23
## Quick Setup
24
24
25
25
```bash
26
-
npx nuxi@latest module add nuxt3-leaflet
26
+
npx nuxi@latest module add @nuxtjs/leaflet
27
27
```
28
28
29
29
That's it! You can now use Leaflet in your Nuxt app ✨
30
30
31
31
## Usage
32
32
33
-
For a complete list of the components available, check out the [official documentation](https://gugustinette.github.io/Nuxt-Leaflet/components/introduction.html) library.
33
+
For a complete list of the components available, check out the [official documentation](https://leaflet.nuxtjs.org/components/introduction.html) library.
34
34
35
35
Please note that components are exported in PascalCase, so for example, write `<LMap>` instead of `<l-map>`.
Copy file name to clipboardExpand all lines: docs/components/introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ outline: deep
5
5
::: info
6
6
Further documentation for these components was highly inspired from [Vue2 Leaflet Documentation](https://vue2-leaflet.netlify.app/components/), [Vue Leaflet Demo](https://github.com/vue-leaflet/vue-leaflet/tree/master/src/playground/views) and the original [Leaflet Documentation](https://leafletjs.com/).
7
7
8
-
If you find any errors, please open an issue on the [GitHub repository](https://github.com/gugustinette/Nuxt-Leaflet).
8
+
If you find any errors, please open an issue on the [GitHub repository](https://github.com/nuxt-modules/leaflet).
9
9
Props and events can be verified by looking at the [vue-leaflet components](https://github.com/vue-leaflet/vue-leaflet/tree/master/src/components).
0 commit comments