DEV Community

Cover image for Deploy a solid-start app on github pages

Deploy a solid-start app on github pages

Alex Lohr on January 11, 2024

Solid-start is the long awaited meta-framework for Solid.js. Since it entered its second beta after a rewrite, there were a few breaking changes, s...
Collapse
 
efpage profile image
Eckehard

"...up to two minutes" sound a bit annoying during development. Is there any "fast track preview" like we have in vite?

Collapse
 
lexlohr profile image
Alex Lohr • Edited

This only applies to the first initialization for the GitHub pages. The action usually runs within a few seconds after pushing or merging to master. I should probably add a few words of clarification there

Also, solid-start supports a dev server that runs within milliseconds and has hot module reloading, too. This is only the time that deployment on GitHub pages takes.

Collapse
 
amustafa16421 profile image
Mustafa_A

intresting.

waiting for more on this :-)

Collapse
 
christiankouts profile image
Christian-Kouts • Edited

San you please show this process on a real static site via a YouTube videoπŸ˜“

Collapse
 
lexlohr profile image
Alex Lohr

Sorry, I'm mostly about text. If you want, you can find me as @lexLohr on discord; ping me and I'll help you there with your current project.

Collapse
 
blankeos profile image
Carlo Taleon

Yup, this works. Thanks buddy! I think the vite baseUrl and solid router baseUrl did the trick. How did you know how to do this? I can't find anything about it on the docs.

Collapse
 
amustafa16421 profile image
Mustafa_A

trade secrcet ;-) :-p
( joking obviously )

Collapse
 
lexlohr profile image
Alex Lohr

A lot of trial and error.