fix: compile router on web

This commit is contained in:
Jonathan Kelley committed 2022-03-09 21:14:22 -05:00
1 parent 60619a8380
commit ed07e914d3
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus" name = "dioxus"
version = "0.2.1" version = "0.2.2"
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2021" edition = "2021"
description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
+2 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-router" name = "dioxus-router"
version = "0.2.1" version = "0.2.2"
edition = "2018" edition = "2018"
description = "Cross-platform router for Dioxus apps" description = "Cross-platform router for Dioxus apps"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
@@ -28,6 +28,7 @@ web-sys = { version = "0.3", features = [
"Url", "Url",
"UrlSearchParams", "UrlSearchParams",
"Window", "Window",
"Location"
], optional = true } ], optional = true }
wasm-bindgen = { version = "0.2", optional = true } wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true } js-sys = { version = "0.3", optional = true }