S
SolidJS2mo ago
Tye

SolidStart Hosting a Static Site

Hello! Was wondering how I might be able to go about hosting a static site in SolidStart. My main purpose is to use auth.js inside my SolidStart app to host built documentation. Does anyone know of any ways to do this? And/or if this is even a good idea?
3 Replies
hannus
hannus2mo ago
try solidbase. here is the link : https://solidbase.dev
SolidBase
SolidBase
Fully featured, fully customisable static site generation for SolidStart
Tye
TyeOP2mo ago
@hannus Thank you for the response, but I don't think I was explicit enough, I already have a prebuilt statically generated site (in html), that I want to host inside SolidStart. Not that I want SolidStart to be statically generated.
AsyncBanana
AsyncBanana2mo ago
There is nothing stopping you from returning HTML in an API route you could also throw the static files in public, although, depending on how you deploy it, requests without the .html might not be handled correctly

Did you find this page helpful?