Closed sowbug closed 4 months ago
I see this error at https://github.com/yewstack/yew/issues/1366. There's a suggestion about adding target wasm32-unknown-unknown
, but I thought I was looking at a UI framework that also works on the desktop. Maybe I'm mistaken.
It looks to me like you're running the web example as a desktop app.
You can run those web examples with trunk serve
, otherwise from the root folder of the repo you can run cargo run --example to_do_mvc
to try out the native version.
Success! I guess I was just unlucky and picked the wrong binaries to try. So far all the examples I've tried have worked:
cargo run --example to_do_mvc
cargo run --example calc
cargo run --example hello_masonry
cargo run --example simple_image
Thanks!