Skip to content

Commit

Permalink
docs: added --locked flag for v0.3.x installation (#274)
Browse files Browse the repository at this point in the history
This fixes issues with `cargo_toml`.
  • Loading branch information
saona-raimundo authored Apr 27, 2023
1 parent 2fb434b commit 2708508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/0.3.4/en-US/tutorials/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Also notice that we define this `PerseusApp` in a function called `main`, but yo

</details>

Now install the Perseus CLI with `cargo install perseus-cli` (you'll need `wasm-pack` to let Perseus build your app, use `cargo install wasm-pack` to install it) to make your life way easier, and deploy your app to <http://localhost:8080> by running `perseus serve` inside the root of your project! This will take a while the first time, because it's got to fetch all your dependencies and build your app.
Now install the Perseus CLI with `cargo install perseus-cli --locked` (you'll need `wasm-pack` to let Perseus build your app, use `cargo install wasm-pack` to install it) to make your life way easier, and deploy your app to <http://localhost:8080> by running `perseus serve` inside the root of your project! This will take a while the first time, because it's got to fetch all your dependencies and build your app.

<details>
<summary>Why do I need a CLI?</summary>
Expand Down

0 comments on commit 2708508

Please sign in to comment.