Skip to content

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

License

Notifications You must be signed in to change notification settings

RockLakeGrass/wasm-rust-vite-react

Repository files navigation

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!

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published