-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo-web is not compatible with web-sys #1081
Comments
Yeah, it's not possible. You'll have to choose one or the other, sorry! |
I'm confused, what should I do if I still want to use cargo-web or can I not use it all? |
@andersonevitt I recommend checking out trunk: https://github.com/thedodd/trunk Alternatively, you will have to use |
The documentation at least should be improved, it's confusing currently: Introduction > Using Cargo web:
Immediately after, the first tutorial (that appears to use web-sys):
It doesn't say that Cargo web doesn't work. |
The documentation is correct(ish) for Yew Cargo web does work, but support will be removed in the next release. If you want to use stdweb (strongly discouraged) you can with (yew-stdweb)[https://lib.rs/crates/yew-stdweb]. |
Cargo web was removed from the new docs. This prevents the confusion 👍 |
Working with master branch and also checked out recent commits on version 14.3 and 14.2 and I am getting the error that
cargo-web is not compatible with web-sys
.I have
--force
upgraded cargo-web and am still getting the same error.The text was updated successfully, but these errors were encountered: