@bowdo/react-scripts-rust
v2.1.7-p1
Published
Configuration and scripts for using Rust with Create React App
Downloads
9
Readme
react-scripts-rust
This package includes scripts and configuration used by Create React App (Rust). Please refer to its documentation:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
Quick Overview
First install Rust if you haven't already
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
Then you can run the tool with npx
npx create-react-app my-app --scripts-version react-scripts-rust
cd my-app
npm start
After the project has loaded in Chrome any changes in src/lib.rs
should result in an instant update in the browser.