FatFreeButter
FatFreeButter
SSolidJS
Created by FatFreeButter on 4/29/2025 in #support
Compile specific routes into static html
I'm building an app that has the following routes: - home - about - contact - login - dashboard The dashboard is really the only "dynamic" part of the entire app and it should only be accessible after a user logs in. Question: Is it possible to compile my app so that home, about, and login are static html pages and dashboard is the only page served as a "SPA"? I'm interested in doing this to optimize for SEO and page load speed.
4 replies
SSolidJS
Created by FatFreeButter on 4/1/2025 in #support
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?
2 replies
SSolidJS
Created by FatFreeButter on 2/11/2025 in #support
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