Our great sponsors
-
java-springboot-svelte3-ssr-template
Discontinued A Java Spring Boot template that renders Svelte components server side.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Graal
GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
If you want to do it properly, without SPA tricks, here: https://github.com/tncrazvan/svelte-3-jssr-starterIt should even support SSR mode for sveltekit and full interoperability.
The original project is this one here: https://github.com/tncrazvan/java-springboot-svelte3-ssr-template which I archived because of some issues with "require" (go figure, NodeJS doing NodeJS things).
In short, you need to use graalvm and install the nodejs plugin for it (guide here).