mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
28 lines
562 B
Markdown
28 lines
562 B
Markdown
# API example
|
|
This example demonstrates Tauri's API capabilities using the `@tauri-apps/api` package. It's used as the main validation app, serving as the testbed of our development process.
|
|
In the future, this app will be used on Tauri's integration tests.
|
|
|
|

|
|
|
|
## Running the example
|
|
- Install dependencies
|
|
```bash
|
|
# with yarn
|
|
$ yarn
|
|
# with npm
|
|
$ npm install
|
|
```
|
|
|
|
- Compile the app
|
|
```bash
|
|
# with yarn
|
|
$ yarn tauri:build
|
|
# with npm
|
|
$ npm run tauri:build
|
|
```
|
|
|
|
- Run the app
|
|
```bash
|
|
$ ./src-tauri/target/release/app
|
|
```
|