Skip to content

Commit

Permalink
第12节:实现预览文章的功能
Browse files Browse the repository at this point in the history
  • Loading branch information
za-songguo committed Feb 4, 2023
1 parent 10470f6 commit 5a714d4
Show file tree
Hide file tree
Showing 15 changed files with 303 additions and 88 deletions.
32 changes: 18 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
gloo = "0.8.0"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
wasm-bindgen-futures = "0.4.34"
web-sys = { version = "0.3.60", features = ["Window", "Document"] }
yew = { version = "0.20.0", features = ["csr"] }
yew-router = "0.17.0"
5 changes: 5 additions & 0 deletions client/Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# trunkrs.dev

[[proxy]]
rewrite = "/api/"
backend = "http://localhost:12345/"
Binary file removed client/dist/client-a3940aa888d9c245_bg.wasm
Binary file not shown.
Loading

0 comments on commit 5a714d4

Please sign in to comment.