tauri/examples
Lucas Fernandes Nogueira e227fe02f9
feat(core): allow defining global API script on plugin build (#9156)
* feat(core): allow defining global API script on plugin build

Adds `tauri_plugin::Builder::global_api_script_path` so plugin authors can define the JavaScript global API bindings (supposed to be injected to `window.__TAURI__`) at compile time, so the string is only part of the binary when withGlobalTauri is true.
Currently this needs to be done manually at runtime (and it's always added to the binary via include_str).

* prefix variable

* use list of scripts instead of combining them

* static str

* header [skip ci]

* slice
2024-03-12 12:01:13 -03:00
..
.icons fix(cli): corrupted icons in bundled macOS icons (#5698) 2022-11-28 08:57:32 -03:00
api feat(core): allow defining global API script on plugin build (#9156) 2024-03-12 12:01:13 -03:00
commands chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
file-associations chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
helloworld chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
isolation chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
multiwebview chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
multiwindow chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
navigation chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
parent-window chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
plugins/tauri-plugin-example chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
resources chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
run-iteration chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
splashscreen feat(core): allow swapping the assets implementation (#9141) 2024-03-11 11:07:15 -03:00
state chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
streaming chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
web chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
workspace chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
README.md docs(examples): add missing Readme and clarify existing (#3327) 2022-02-04 17:56:57 -03:00

Examples

Following directories contain examples of tauri app functionality.

There are different execution steps depending on the example. See each directory README.md for execution method.