tauri/examples/splashscreen
Fabian-Lars 02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370)
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
..
dist New brand (#2445) 2021-08-16 22:00:40 +08:00
src-tauri fix(examples): allowlist configuration for core examples (#3340) 2022-02-06 10:50:45 -03:00
package.json feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370) 2022-02-09 22:11:00 -03:00
README.md fix(core): raw-window-handle dependency, closes #2460 (#2465) 2021-08-17 10:27:18 -03:00
yarn.lock feat(examples): add splashscreen example (#1685) 2021-05-03 11:16:51 -03:00

Splashscreen example

This example demonstrates how a splashscreen can be implemented when waiting on an initialization code on Rust or on the UI.

Running the example

Run the following scripts on the root directory of the repository:

# runs the example that wait on a Rust initialization script to show the main window
$ cargo run --example splashscreen
# runs the example that wait on the UI to load to show the main window
$ cargo run --example splashscreen --features ui