tauri/examples/splashscreen
nothingismagick 12268e6e69
fix(csp): add 'self' (#1794)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 09:45:39 -03:00
..
dist feat(examples): add splashscreen example (#1685) 2021-05-03 11:16:51 -03:00
src-tauri fix(csp): add 'self' (#1794) 2021-05-12 09:45:39 -03:00
package.json feat(examples): add splashscreen example (#1685) 2021-05-03 11:16:51 -03:00
README.md feat(examples): add splashscreen example (#1685) 2021-05-03 11:16:51 -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 --bin splashscreen
# runs the example that wait on the UI to load to show the main window
$ cargo run --bin splashscreen --features ui