Skip to content

Commit

Permalink
added explainer text to installation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgryan committed May 23, 2024
1 parent 1fc881c commit f56be81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ to point both `leaflet` and `leaflet-html` at ES modules.
</script>
```

Execute the library by importing it in a `script` tag.
Leaflet dependencies are detected via the `importmap`.

```html
<script type="module">
import "leaflet-html";
Expand Down

0 comments on commit f56be81

Please sign in to comment.