This example uses the basic Hacker News example as its basis, but shows how to run the server side as WASM running in a JS environment. In this example, Deno is used as the runtime.
To run the Deno version, run
deno task build
deno task start cargo install trunk
cargo install cargo-leptos
cargo install --locked wasm-bindgen-cli
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh