Skip to content

Extension made with React and TypeScript, Rust and WebAssembly

License

Notifications You must be signed in to change notification settings

softoika/react-rust-chrome-extension

Repository files navigation

react-rust-chrome-extension

Sample project which runs wasm-game-of-life in Chrome extension.

How to build

  1. yarn install
  2. Build wasm and link it
$ wasm-pack build wasm-game-of-life
$ cd wasm-game-of-life/pkg
$ yarn link
$ cd ../..
$ yarn link wasm-game-of-life
  1. yarn build

Then, the dist/ directory is generated. It can be loaded as a unpacked extension.

Next time, the step 1 and the step 2 can be omitted.

About

Extension made with React and TypeScript, Rust and WebAssembly

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published