Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Schr3da/wasm-reduxrs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust demo: Reduxrs and Wasm

Demo

How to build

  • Install rust wasm32-unknown-unknown toolchain

    rustup target add wasm32-unknown-unknown
    
  • Install wasm-pack

    cargo install wasm-pack
    
  • Clone repository

    git clone https://github.com/Schr3da/wasm-reduxrs-example.git
    
  • Change into wasm-reduxrs-example/wasm

    cd wasm-reduxrs-example/wasm
    
  • Build project using wasm-pack

    wasm-pack build --target web
    
  • Use a static http-server to host application

    http-server wasm-reduxrs-example/wasm/
    
  • Use browser to access the index.html page e.g.

    http://127.0.0.1:8080/index.html
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published