YEW Megatutorial
Yes, I'm humbling joining the fight to widespread Rust, with a tutorial on Yew.
You can see the parts of this series here, accessible trhough the Wiki:
- Tut 01 - Introduction
- Tut 02 - Extending the example
- Tut 03 - Services and all
- Tut 04 - ...and services for all
- Tut 04 - ...and services for all
- Tut 05 - Drive through libraries
- Tut 06 - Custom Custom Custom
- Tut 07 - Custom like a bike
Installation
This tutorial pre-se does require at least some Rust knowledge.
However, I hope it would be profitable also for the beginners. I myself am still learning the language, yet in order to enjoy the full potential of Rust as applied to WASM
technology one does not need to know all the intricacies of the type system.
A sufficient Rust knowledge is gained after few weeks of acquaintance with this language, thus I think that once the basics are learned, this guide can be very profitable also to the novices.
Of course, Rust itself must be installed. Next, we need to install wasm-pack. NOTE: I made this tutorial in a highly opinonated manner, not "just because", but just because the novices would not get lost around the many choices available.
cargo install wasm-pack
After this we'll need a JS bundler, and we'll use rollup.
npm install --global rollup