Correct way to import CSS used by 3rd-party library?
I am building a SPA where the registration page will make use of the Leaflet mapping library. I have installed Leaflet by running the command
npm install leaflet
.
If I am only using Leaflet in the registration page, what is the correct way to import the Leaflet CSS file ("leaflet/dist/leaflet.css"
) and the Leaflet JS module?1 Reply
GitHub
GitHub - chris31415926535/solid-leaflet-reprex: Minimal Working Exa...
Minimal Working Example of Leaflet in SolidJS. Contribute to chris31415926535/solid-leaflet-reprex development by creating an account on GitHub.