fix: Add the --locked param to every cli installation command (#1427)
This commit is contained in:
1 parent
2cfa0e4ea9
commit
95887e836c
4 files changed
+12
-9
No files matched your search
@@ -11,7 +11,7 @@ It handles all building, bundling, development and publishing to simplify develo
|
||||
### Install the stable version (recommended)
|
||||
|
||||
```
|
||||
cargo install dioxus-cli
|
||||
cargo install dioxus-cli --locked
|
||||
```
|
||||
|
||||
### Install the latest development build through git
|
||||
@@ -28,6 +28,7 @@ This will download the CLI from the master branch,
|
||||
and install it in Cargo's global binary directory (`~/.cargo/bin/` by default).
|
||||
|
||||
### Install from local folder
|
||||
|
||||
```
|
||||
cargo install --path . --debug
|
||||
```
|
||||
@@ -52,6 +53,7 @@ You can use the `Dioxus.toml` file for further configuration.
|
||||
Some fields are mandatory, but the CLI tool will tell you which ones are missing.
|
||||
You can create a `Dioxus.toml` with all fields already set using `dx config init project-name`,
|
||||
or you can use this bare-bones template (only mandatory fields) to get started:
|
||||
|
||||
```toml
|
||||
[application]
|
||||
name = "project-name"
|
||||
|
||||
@@ -16,8 +16,8 @@ and install it in Cargo's global binary directory (`~/.cargo/bin/` by default).
|
||||
The published version of the Dioxus CLI is updated less often, but is more stable than the git version.
|
||||
|
||||
```
|
||||
cargo install dioxus-cli
|
||||
cargo install dioxus-cli --locked
|
||||
```
|
||||
|
||||
Run `dx --help` for a list of all the available commands.
|
||||
Furthermore, you can run `dx <COMMAND> --help` to get help with a specific command.
|
||||
Furthermore, you can run `dx <COMMAND> --help` to get help with a specific command.
|
||||
Reference in new issue
Block a user