tauri/examples/resources
2021-10-22 10:04:42 -03:00
..
src-tauri feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -03:00
index.html chore: add .prettierrc in repo root (#2145) 2021-07-03 19:48:04 -03:00
package.json feat(examples): add resources example (#2001) 2021-06-17 08:59:27 -03:00
README.md feat(examples): add resources example (#2001) 2021-06-17 08:59:27 -03:00

Resource example

This example demonstrates the Tauri bundle resources functionality. The example adds src-tauri/assets/index.js as a resource (defined on tauri.conf.json > tauri > bundle > resources) and executes it using Node.js, locating the JavaScript file using the tauri::api::path::resolve_path API.