futursolo / stylist-rs

A CSS-in-Rust styling solution for WebAssembly Applications
https://crates.io/crates/stylist
MIT License
366 stars 22 forks source link

it's seem that the latest one still not support yew 0.19.0? #75

Closed sanriqing closed 2 years ago

sanriqing commented 2 years ago

I'm a new bee who is trying to study yew. i got error below. image

yew = "0.19" stylist = "0.10" wasm-bindgen = "0.2.80" web-sys = "0.3.57"

WorldSEnder commented 2 years ago

To enable yew integration. Enable feature yew_integration in Cargo.toml.

You might have forgotten to activate that feature.

stylist = { version = "0.10", features = ["yew_integration"] }
simbleau commented 2 years ago

This should be a non-issue. I'm on yew 19 and I have no issues using stylist.

To enable yew integration. Enable feature yew_integration in Cargo.toml.

You might have forgotten to activate that feature.

stylist = { version = "0.10", features = ["yew_integration"] }

This sounds correct.

WorldSEnder commented 2 years ago

Closing this for now, feel free to reopen if you still face the issue @sanriqing