浏览代码

Add feature gate

Aster 3 年之前
父节点
当前提交
329b182e2d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/web/Cargo.toml

+ 1 - 1
packages/web/Cargo.toml

@@ -12,7 +12,7 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
 
 
 [dependencies]
 [dependencies]
 dioxus-core = { path = "../core", version = "^0.2.0" }
 dioxus-core = { path = "../core", version = "^0.2.0" }
-dioxus-html = { path = "../html", version = "^0.2.0" }
+dioxus-html = { path = "../html", version = "^0.2.0", features = ["wasm-bind"] }
 dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.0", features = [
 dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.0", features = [
     "web",
     "web",
 ] }
 ] }