optimle/web-optimle
2022-03-19 14:40:59 -07:00
..
src add "Explore game tree" 2022-03-01 21:41:09 -08:00
tests new web layout 2022-02-27 13:36:53 -08:00
www about tweaks 2022-03-19 14:40:59 -07:00
.appveyor.yml new web layout 2022-02-27 13:36:53 -08:00
.gitignore new web layout 2022-02-27 13:36:53 -08:00
.travis.yml new web layout 2022-02-27 13:36:53 -08:00
Cargo.toml web sight 2022-02-27 20:41:03 -08:00
LICENSE_APACHE new web layout 2022-02-27 13:36:53 -08:00
LICENSE_MIT new web layout 2022-02-27 13:36:53 -08:00
README.md new web layout 2022-02-27 13:36:53 -08:00

wasm-pack-template

A template for kick starting a Rust and WebAssembly project using wasm-pack.

Build Status

Tutorial | Chat

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

📚 Read this template tutorial! 📚

This template is designed for compiling Rust libraries into WebAssembly and publishing the resulting package to NPM.

Be sure to check out other wasm-pack tutorials online for other templates and usages of wasm-pack.

🚴 Usage

🐑 Use cargo generate to Clone this Template

Learn more about cargo generate here.

cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish

🔋 Batteries Included