Files
tauri-plugins-workspace/examples/api
Amr Bashir 69a1fa099c feat(fs): improved API (#751)
* feat(fs): improved API

* fmt

* fix unix builds

* again

* clippy

* clippy

* fix import in docs examples

* fmt, clippy

* Update linux.rs

* add API for watch

* fix with `watcher` feature flag

* use baseDir for all commands

* do not export close function

* fix build

* organize and address review comments

* fmt

* generated files

* rename FsFile to FileHandle, move APIs and docs

* extend example

* extend `Resource`

* actually extend it

---------

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-19 22:08:34 -03:00
..
2023-07-19 14:50:43 -03:00
2023-05-05 09:41:17 -03:00
2023-12-19 22:08:34 -03:00
2023-05-05 09:41:17 -03:00
2023-05-05 09:41:17 -03:00
2023-12-14 15:44:44 -03:00
2023-07-19 14:50:43 -03:00
2023-05-05 09:41:17 -03:00
2023-05-05 09:41:17 -03:00
2023-05-05 09:41:17 -03:00
2023-05-05 09:41:17 -03:00

API example

This example demonstrates Tauri's API capabilities using the plugins from this repository. 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.

App screenshot

Running the example

  • Install dependencies and build packages (Run inside of the repository root)
$ pnpm install
$ pnpm build
  • Run the app in development mode (Run inside of this folder examples/api/)
$ pnpm tauri dev
  • Build an run the release app (Run inside of this folder examples/api/)
$ pnpm tauri build
$ ./src-tauri/target/release/app