by rk06 · 3y ago · 0 comments
Even though it is compiled, you are still working closer to the browser. You can still use all vanilla JS DOM manipulation methods in your code and it will work as expected. Which is an enormous advantage over React, at least for me.
export const prerender = true;
If it is, it IS in fact compiled to HTML. :-)
https://kit.svelte.dev/docs/page-options#prerenderCompilers are awesome.
npm create svelte my-app
Creates a SvelteKit app now, not plain Svelte. That said, you can easily disable the server-side portion. export const ssr = false;