mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
For our Rust, C++, and Node.js templates, recommend the use of a zip archive download instead of git
This removes any git history of ours from the download, and removes the need to have git installed.
This commit is contained in:
parent
902cb17865
commit
ddfbd1821a
4 changed files with 21 additions and 11 deletions
|
@ -49,8 +49,12 @@ contains more advanced examples and alternative ways to use this crate.
|
|||
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 as a starting point for your program.
|
||||
|
||||
1. Download and extract the [ZIP archive of the Rust Template](https://github.com/slint-ui/slint-rust-template/archive/refs/heads/main.zip).
|
||||
2. Rename the extracted directory and change into it:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/slint-ui/slint-rust-template my-project
|
||||
mv slint-rust-template-main my-project
|
||||
cd my-project
|
||||
```
|
||||
|
||||
## More examples
|
||||
|
|
|
@ -98,8 +98,12 @@ fn main() {
|
|||
Use our [Template Repository](https://github.com/slint-ui/slint-rust-template) to create a skeleton file
|
||||
hierarchy that uses this method:
|
||||
|
||||
1. Download and extract the [ZIP archive of the Rust Template](https://github.com/slint-ui/slint-rust-template/archive/refs/heads/main.zip).
|
||||
2. Rename the extracted directory and change into it:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/slint-ui/slint-rust-template my-project
|
||||
mv slint-rust-template-main my-project
|
||||
cd my-project
|
||||
```
|
||||
|
||||
## Generated components
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue