create fullstack hello world example

This commit is contained in:
Evan Almloff committed 2023-03-30 10:34:13 -05:00
1 parent 939e75541e
commit fdc8ebd1b1
11 files changed
+312 -117

No files matched your search

@@ -0,0 +1,20 @@
[package]
name = "hello-world"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus-web = { path = "../../../web", features=["hydrate"], optional = true }
dioxus = { path = "../../../dioxus" }
dioxus-server = { path = "../../" }
axum = { version = "0.6.12", optional = true }
tokio = { version = "1.27.0", features = ["full"], optional = true }
serde = "1.0.159"
tracing-subscriber = "0.3.16"
tracing = "0.1.37"
[features]
ssr = ["axum", "tokio", "dioxus-server/ssr", "dioxus-server/axum"]
web = ["dioxus-web"]