mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 05:44:52 +00:00
doc: Simplify Getting Started for Rust
There's no need anymore to use cargo-generate.
This commit is contained in:
parent
8859be7695
commit
b8c6a09a94
1 changed files with 2 additions and 3 deletions
|
@ -134,11 +134,10 @@ Run the example with `npm start` and a window appears with the green "Hello Worl
|
||||||
|
|
||||||
We recommend using [rust-analyzer](https://rust-analyzer.github.io) and [our editor integrations for Slint](https://github.com/slint-ui/slint/tree/master/editors) for following this tutorial.
|
We recommend using [rust-analyzer](https://rust-analyzer.github.io) and [our editor integrations for Slint](https://github.com/slint-ui/slint/tree/master/editors) for following this tutorial.
|
||||||
|
|
||||||
Install the [template](https://github.com/slint-ui/slint-rust-template) with the following commands:
|
Clone or download the template repository:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo install cargo-generate
|
git clone https://github.com/slint-ui/slint-rust-template memory
|
||||||
cargo generate --git https://github.com/slint-ui/slint-rust-template --name memory
|
|
||||||
cd memory
|
cd memory
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue