mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-21 09:41:34 +03:00
d5d6d2abc1
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com> Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio> |
||
---|---|---|
.. | ||
dist | ||
src-tauri | ||
package.json | ||
README.md | ||
yarn.lock |
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