-
-
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
not possible to run examples #1162
Comments
Cool, yeah I think someone recently went through and added [lib]
crate-type = ["cdylib", "rlib"] for I prefer using |
@jstarry I have learning repo where I have silly sort implementation. There are two examples. One prepared for wasm-bindgen and second for wasm-pack, both using same index.html instatic folder.Both examples produces "same" results. https://github.com/fbucek/yewbulma/tree/feat/table/examples |
Whoops, I assume that's my bad. I've recently ported tests from using |
No, not your bad @hgzimmerman. |
Problem
Not possible to run examples .
Missing doc how to run them.
Examples looks they are prepared for both
wasm-bindgen
andwasm-pack
but I think it cannot be mixed together.wasm-pack needs this and must have main method defined within
lib.rs
lib.rs
wasm-bindgen needs
main.rs
and must not havecrate-type = ["cdylib", "rlib"]
inCargo.toml
Environment:
master
]Questionnaire
The text was updated successfully, but these errors were encountered: