mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-27 15:13:23 +03:00
e227fe02f9
* 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 |
||
---|---|---|
.. | ||
.icons | ||
api | ||
commands | ||
file-associations | ||
helloworld | ||
isolation | ||
multiwebview | ||
multiwindow | ||
navigation | ||
parent-window | ||
plugins/tauri-plugin-example | ||
resources | ||
run-iteration | ||
splashscreen | ||
state | ||
streaming | ||
web | ||
workspace | ||
README.md |
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.