Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to use react-leaflet using script tag? #1088

Open
jensb opened this issue Aug 4, 2023 · 0 comments
Open

Possibility to use react-leaflet using script tag? #1088

jensb opened this issue Aug 4, 2023 · 0 comments

Comments

@jensb
Copy link

jensb commented Aug 4, 2023

I would like to import react-leaflet using a <script src=..."> tag, directly inside a browser-readable HTML file, instead of using a package manager like NPM with "require" and "import" statements.
Such a single file approach seems like a good way of testing isolated React components and debug small apps but the last version with a minified "one file for all" .min.js that I can find on unpkg.com and related CDNs was 2.8.0 and it didn't even work.

Is it possible to provide such a minifed "contains everything" file for use via CDNs in future versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant