wip: add router
This commit is contained in:
1 parent
9874f342e2
commit
d298b626d3
17 files changed
+617
-20
No files matched your search
@@ -0,0 +1,39 @@
|
||||
[package]
|
||||
name = "dioxus-router"
|
||||
version = "0.0.0"
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
dioxus-core = { path = "../core", version = "0.1.3", default-features = false }
|
||||
dioxus-core-macro = { path = "../core-macro", version = "0.1" }
|
||||
dioxus-html = { path = "../html", version = "0.0.0", default-features = false }
|
||||
|
||||
web-sys = { version = "0.3", features = [
|
||||
"Attr",
|
||||
"Document",
|
||||
"History",
|
||||
"HtmlBaseElement",
|
||||
"Event",
|
||||
"NamedNodeMap",
|
||||
"Url",
|
||||
"UrlSearchParams",
|
||||
"Window",
|
||||
], optional = true }
|
||||
|
||||
serde = "1"
|
||||
|
||||
serde_urlencoded = "0.7"
|
||||
|
||||
wasm-bindgen = "0.2"
|
||||
js-sys = "0.3"
|
||||
gloo = "0.4"
|
||||
route-recognizer = "0.3.1"
|
||||
|
||||
|
||||
[features]
|
||||
default = ["web"]
|
||||
web = ["web-sys"]
|
||||
desktop = []
|
||||
mobile = []
|
||||
Reference in new issue
Block a user