Skip to content

davidedelpapa/yew-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

After these you are good to go with the tutorial part 1.