Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

Update wasm-bindgen / wasm-pack description #66

Open
jstarry opened this issue Apr 29, 2020 · 0 comments
Open

Update wasm-bindgen / wasm-pack description #66

jstarry opened this issue Apr 29, 2020 · 0 comments

Comments

@jstarry
Copy link
Member

jstarry commented Apr 29, 2020

In https://yew.rs/docs/getting-started/project-setup is written: We don't recommend using wasm-bindgen directly because it requires hand-writing some JavaScript to bootstrap you WebAssembly binary.

But wasm-pack and wasm-bindgen both can use same /examples/static/index.html file. No other steps are needed. Neither of them needs to use bundler when compiled with --target web

Context: yewstack/yew#1165 (comment)

cc @fbucek

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant