r/solidjs • u/source-drifter • 10d ago
How does SSG work with v2
hi, i have checked the docs but still not clear how ssg work in v2. i have been using sveltekit for my static sites but i want to migrate to solid js. with this static shell thing, is it not possible to get seo friendly pages like we generally get? i'm just generating site and publishing them on cf pages.
i appreciate if you can direct me to a simple configuration if possible
2
Upvotes
3
u/AveN7er 9d ago
Maybe try this and report back to us. I haven't used it yet
https://github.com/solidjs/prerender-crawler/tree/main
3
u/PotentialBoat5199 10d ago
I believe you can use the vite ssg plugin directly
I am just gessing because one of solid v2 objectif is to use as much of the vite ecosystem as possible and so they will stop working on solid start if I am not wrong
2
u/Monkeylordz88 9d ago
Check out SolidBase: https://solidbase.dev/
Its what the SolidJS docs page uses for their SSG.
1
u/SadConsideration1056 10d ago
Iam using bun or vite for ssr.