Closed WanderHuang closed 4 years ago
[package] name = "yew-app" version = "0.1.0" authors = ["Yew App Developer <name@example.com>"] edition = "2018" [dependencies] yew = { version = "0.13.0", features = "std_web" }
yew = { version = "0.13.0", features = "std_web" } should be replace as yew = { version = "0.13.0", features = ["std_web"] }.
yew = { version = "0.13.0", features = "std_web" }
yew = { version = "0.13.0", features = ["std_web"] }
if use features = "std_web", I got error below in linux(deepin):
features = "std_web"
Caused by: invalid type: string "std_web", expected a sequence for key `dependencies.yew.features`
this will work instead
[package] name = "yew-app" version = "0.1.0" authors = ["Yew App Developer <name@example.com>"] edition = "2018" [dependencies] yew = { version = "0.13.0", features = ["std_web"] }
Fixed thanks!
yew = { version = "0.13.0", features = "std_web" }
should be replace asyew = { version = "0.13.0", features = ["std_web"] }
.if use
features = "std_web"
, I got error below in linux(deepin):this will work instead