-
Notifications
You must be signed in to change notification settings - Fork 212
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
Use --target web
to reduce complexity of "Hello World" (cut down on tools needed to start)
#181
Comments
Note:
|
hello_world
hello_world
instructions
hello_world
instructionshello_world
example
hello_world
examplewasm-bindgen
hello_world
example
This is pretty close to what we already have here: https://rustwasm.github.io/docs/book/game-of-life/hello-world.html The main difference is that it doesn't use Since we don't have an issue open in the book repo to track this, I'll make this issue be that. |
wasm-bindgen
hello_world
example--target web
to simplify tutorial / cut down on tools needed to start
Upstream blockers: |
I appreciate this, OTOH:
I am not a newcomer to Rust, but i've struggled for about 1 hour to figure out how to get the current "hello world" working without installing tools i don't understand the need for. It' s subjective. I prefer to learn bottom up, from the simple towards the complex. |
I've just noticed that there are some more minimal examples: |
--target web
to simplify tutorial / cut down on tools needed to start--target web
to reduce complexity of "Hello World" (cut down on tools needed to start)
Suggested instructions that don't need a generator or a bundler:
wasm-pack
is installedexamples/hello_world/
wasm-pack build --target web
index.html
likeindex.html
in a browserThe text was updated successfully, but these errors were encountered: