mirror of
https://github.com/leptos-rs/leptos
synced 2024-09-20 06:21:57 +00:00
examples: remove incorrect CSR information for hackernews_js_fetch
example (#1997)
This commit is contained in:
parent
9d9a4932b3
commit
530dcff86a
2 changed files with 4 additions and 14 deletions
|
@ -1,14 +1,12 @@
|
|||
# Leptos Hacker News Example with Axum
|
||||
|
||||
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.
|
||||
|
||||
## Client Side Rendering
|
||||
To run it as a Client Side App, you can issue `trunk serve --open` in the root. This will build the entire
|
||||
app into one CSR bundle. Make sure you have trunk installed with `cargo install trunk`.
|
||||
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.
|
||||
|
||||
## Server Side Rendering with Deno
|
||||
|
||||
To run the Deno version, run
|
||||
|
||||
```bash
|
||||
deno task build
|
||||
deno task start
|
||||
deno task start
|
||||
```
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link data-trunk rel="rust" data-wasm-opt="z"/>
|
||||
<link data-trunk rel="css" href="/public/style.css"/>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
Loading…
Reference in a new issue