thaw/demo/Cargo.toml
luoxiaozero 21506b2164
Feat/ssr (#25)
* feat: add ssr_axum template

* feat: demo added the ssr mode

* fix: demo ssr mode

* feat(ssr): mount_style

* pref: delete some useless fikes

* fix(ssr): problems caused by using wasm_bindgen

* feat: add hydrate

* pref: Demo component

* fix(hydrate): teleport component

* fix(hydrate): hydrate feature

* fix(hydrate): tabs component

* feat: GlobalStyle component margin style

* docs(ssr): static assets
2023-11-24 10:04:54 +08:00

33 lines
937 B
TOML

[package]
publish = false
name = "demo"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
leptos = { version = "0.5.2" }
leptos_meta = { version = "0.5.2" }
leptos_router = { version = "0.5.2" }
leptos_devtools = "0.0.1"
thaw = { path = "../", default-features = false }
icondata = { version = "0.1.0", features = [
"AiCloseOutlined",
"AiCheckOutlined",
"AiGithubOutlined",
"AiUserOutlined",
] }
prisms = { git = "https://github.com/luoxiaozero/prisms", rev = "16d4d34b93fc20578ebf03137d54ecc7eafa4d4b" }
[features]
default = ["csr"]
tracing = ["leptos/tracing"]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr", "thaw/csr"]
ssr = ["leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr", "thaw/ssr"]
hydrate = [
"leptos/hydrate",
"leptos_meta/hydrate",
"leptos_router/hydrate",
"thaw/hydrate",
]