Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 968 Bytes

README.md

File metadata and controls

42 lines (23 loc) · 968 Bytes

wasm-rust-vite-react

A vite + react + rust template to start your WebAssembly project with.

Preparations

Available Scripts

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.

yarn build:wasm

Builds the wasm for production to the wasm-lib/pkg folder.

Your app is ready to be deployed!