FatFreeButter
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 replies
Dependency error using npm init solid@latest
I am unable to initialize a SolidStart project using
npm init solid@latest
. I have tried multiple templates including basic, with-authjs, and with-tailwindcss, but all have failed with dependency errors when running npm install
for the first time.
Since the length of the error exceeds the character limit (2000), I'll include the error in the comments.18 replies