Replies: 3 comments 1 reply
-
I'm the author of the article you linked. While a server is generated, it only is used once to generate the static HTML output. For the result to become an SPA, the service worker is missing, though, and I haven't tested yet if vite plugins for SPAs will work in this settings. |
Beta Was this translation helpful? Give feedback.
-
Generally with the new presets you can set |
Beta Was this translation helpful? Give feedback.
-
Hi @atk @ryansolid, Solid.js newbie here, I am trying to build a client-side only SPA with SolidStart. Here is my config: import { defineConfig } from '@solidjs/start/config'
export default defineConfig({
ssr: false,
server: {
static: true,
prerender: {
crawlLinks: true,
},
},
}) My question is, if I want to use nginx to host it, do I need to copy everything under |
Beta Was this translation helpful? Give feedback.
-
There is no example in the docs - I would like to build a spa and deploy it to github pages. There is one dev.to article on the subject, but the settings given in the article still generate a server.
Beta Was this translation helpful? Give feedback.
All reactions