/create-react-rust

generate reactjs app with rust and webassembly

Primary LanguageJavaScript

create-react-rust

This is a template generator for a React app that uses Rust with wasm.

pre-req

rust

Node

Installation

Install the package globally with npm.

npm install -g create-react-rust

or

npx create-react-rust create my-app

Usage

provide a name for your app and it will be created in a folder with the same name.

create-react-rust create my-app

To see changes made in rust

1 yarn build:wasm

2 yarn build:bindgen

License

MIT

Dependencies

  • Node.js >= 12.0.0
  • rust setup including cargo

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.