From 8189b4890794249787263fa49e64b49f041ad257 Mon Sep 17 00:00:00 2001 From: Rodney <24297785+nchrisr@users.noreply.github.com> Date: Fri, 28 Jun 2024 17:59:41 -0500 Subject: [PATCH] Use wasm-pack new to setup template instead of cargo generate (#1) --- src/game-of-life/hello-world.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/game-of-life/hello-world.md b/src/game-of-life/hello-world.md index 6f59daf1..9e8a87b1 100644 --- a/src/game-of-life/hello-world.md +++ b/src/game-of-life/hello-world.md @@ -13,14 +13,7 @@ build, integrate, and package your code for the Web. Clone the project template with this command: ```text -cargo generate --git https://github.com/rustwasm/wasm-pack-template -``` - -This should prompt you for the new project's name. We will use -**"wasm-game-of-life"**. - -```text -wasm-game-of-life +wasm-pack new wasm-game-of-life ``` ## What's Inside