mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-03 15:14:35 +00:00
Remove additional reference to cargo-install
This commit is contained in:
parent
cc97571af0
commit
6868052dd1
2 changed files with 6 additions and 9 deletions
|
@ -46,12 +46,11 @@ fn main() {
|
||||||
The [`slint` crate documentation](https://slint.dev/docs/rust/slint/)
|
The [`slint` crate documentation](https://slint.dev/docs/rust/slint/)
|
||||||
contains more advanced examples and alternative ways to use this crate.
|
contains more advanced examples and alternative ways to use this crate.
|
||||||
|
|
||||||
To quickly get started, you can use the [Template Repository](https://github.com/slint-ui/slint-rust-template) with
|
To quickly get started, use the [Template Repository](https://github.com/slint-ui/slint-rust-template) with
|
||||||
the code of a minimal application using Slint that can be used as a starting point to your program.
|
the code of a minimal application using Slint as a starting point for your program.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo install cargo-generate
|
git clone https://github.com/slint-ui/slint-rust-template my-project
|
||||||
cargo generate --git https://github.com/slint-ui/slint-rust-template
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## More examples
|
## More examples
|
||||||
|
|
|
@ -95,13 +95,11 @@ fn main() {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The [cargo-generate](https://github.com/cargo-generate/cargo-generate) tool is a great tool to up and running quickly with a new
|
Use our [Template Repository](https://github.com/slint-ui/slint-rust-template) to create a skeleton file
|
||||||
Rust project. You can use it in combination with our [Template Repository](https://github.com/slint-ui/slint-rust-template) to
|
hierarchy that uses this method:
|
||||||
create a skeleton file hierarchy that uses this method:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo install cargo-generate
|
git clone https://github.com/slint-ui/slint-rust-template my-project
|
||||||
cargo generate --git https://github.com/slint-ui/slint-rust-template
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Generated components
|
## Generated components
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue