Generating Client Only code for static deployment
Hey people,
I’m trying to build my solid start app for client use only. We’ve got an ordinary, no bells and whistles, webspace. And my goal is to deploy the solid start app to there. However, I’m not quite sure how to do that.
Both when building with the default adapter and SSR turned off, and with the solid-start-static adapter, I only get "server" code.
Also, it confuses me that SSR needs to be turned on for solid start static? I guess that makes sense because it needs to be rendered on the server in order to generate the static files.
I don’t even know if I need a static export? There is quite a lot of code expected to run at runtime, and not a lot of static elements.
Btw, it was already surprisingly difficult to figure out there even is solid-start-static, and 2) to find it, as in the docs it’s only referred to as »Static Hosting«
Do you guys have recommendations on what to do?
I’m trying to build my solid start app for client use only. We’ve got an ordinary, no bells and whistles, webspace. And my goal is to deploy the solid start app to there. However, I’m not quite sure how to do that.
Both when building with the default adapter and SSR turned off, and with the solid-start-static adapter, I only get "server" code.
Also, it confuses me that SSR needs to be turned on for solid start static? I guess that makes sense because it needs to be rendered on the server in order to generate the static files.
I don’t even know if I need a static export? There is quite a lot of code expected to run at runtime, and not a lot of static elements.
Btw, it was already surprisingly difficult to figure out there even is solid-start-static, and 2) to find it, as in the docs it’s only referred to as »Static Hosting«
Do you guys have recommendations on what to do?
