This template provides a minimal setup to get React working in Vite with HMR, WASM and some ESLint rules.
- Rust
- Node.js
- Yarn (or another package manager)
Follow these steps to get the project up and running on your local machine:
-
Clone the repository:
git clone https://github.com/rottier/react-wasm-vite-boilerplate.git cd react-wasm-vite-boilerplate
-
Install dependencies:
yarn install
-
Build the project:
To build the project for development:
yarn dev
To build the project for production:
yarn build