Skip to content

wuhouchun123/rust_yew_todo_app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Rust Yew Todo Application

A simple Rust client side Todo App using the Yew Framework.

Major Props to icode-live for updating this repository for the latest version of Yew.

Running it

Clone or download this repository.

You need to have cargo-web installed as well as a suitable target for the Rust compiler to generate web output. By default cargo-web uses asmjs-unknown-emscripten.

Rust stable

Install cargo-web and the asmjs and wasm32 emscripten targets as follows:

$ cargo install cargo-web
$ rustup target add asmjs-unknown-emscripten
$ rustup target add wasm32-unknown-emscripten

For normal Debug build run

$ cargo web start

To run an optimised build instead of a debug build use:

$ cargo web start --target-webasm-emscripten=wasm32-unknown-emscripten --release

Rust nightly

If you are using rust nightly you can use the brand new wasm32-unknown-unknown target

$ cargo install cargo-web
$ rustup target add wasm32-unknown-unknown
$ cargo web start --target-webasm=wasm32-unknown-unknown

Check out the Youtube Tutorial for this Rust Tutorial. Here is our Youtube Channel go ahead and subscribe for more content.

Check out our blog at tensor-programming.com.

Our Twitter, our facebook and our Steemit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%