Getting started - Hello wasm-pack! (original) (raw)
- 1. Introduction
- 2. Quickstart
- 3. Prerequisites
- 4. Commands
- 5. Tutorials
- 6. Cargo.toml Configuration
- 7. Contributing
This documentation isno longer maintained at this domain, and is now maintained at drager.github.io/wasm-pack instead.
Hello wasm-pack!
You can create a new Rust-WebAssembly webpack project by using the rustwasm webpack-template.
Run:
npm init rust-webpack my-app
The last argument will be your project name. After you run the command, you will have a directory with a new project, ready to go. We'll talk about what's been included in this template further in this guide.