Skip to content

Commit 28a712c

Browse files
committed
Update README to point to new wasm-pack docs
The purpose of this change is to canonicalize the documentation and exploration of this template into one place, and the current best place for that is probably the new `wasm-pack` documentation for hybrid Webpack apps. Let's be sure to point there!
1 parent ed57ccc commit 28a712c

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,23 @@
55
This template is designed for creating monorepo-style Web applications with
66
Rust-generated WebAssembly and Webpack without publishing your wasm to NPM.
77

8-
* Want to create and publish NPM packages with Rust and WebAssembly? [Check out
9-
`wasm-pack-template`.](https://github.com/rustwasm/wasm-pack-template)
8+
[**📚 Read this template tutorial! 📚**][template-docs]
9+
10+
Be sure to check out [other `wasm-pack` tutorials online][tutorials] for other
11+
templates and usages of `wasm-pack`.
12+
13+
[tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html
14+
[template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/hybrid-applications-with-webpack/index.html
15+
16+
## 🚴 Using This Template
17+
18+
You can use `npm init` to clone this template:
19+
20+
```sh
21+
npm init rust-webpack my-app
22+
```
23+
24+
[Afterwards check out the full documentation for exploring it][template-docs].
1025

1126
## 🔋 Batteries Included
1227

@@ -17,13 +32,3 @@ to WebAssembly and hooking into a Webpack build pipeline.
1732
`http://localhost:8080`.
1833

1934
* `npm run build` -- Bundle the project (in production mode).
20-
21-
## 🚴 Using This Template
22-
23-
First, [install `wasm-pack`!](https://rustwasm.github.io/wasm-pack/installer/)
24-
25-
Then, use `npm init` to clone this template:
26-
27-
```sh
28-
npm init rust-webpack my-app
29-
```

0 commit comments

Comments
 (0)