Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Web sample

Yew

Yew is a modern Rust framework for creating multi-threaded front-end web apps with WebAssembly.

Yew samples of struct component

Build

Use Trunk to build app.

Install trunk

$ cargo install trunk

Build and run Yew application

$ cd yew-struct-components/helloworld
$ trunk serve

You see app on http://127.0.0.1:8080

Release build

$ cd yew-struct-components/helloworld
$ trunk build --release

You can deploy yew-struct-components/helloworld/dist directory to the web server.

About

Rust web samples

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages