tauri/examples/resources/README.md
2021-06-17 08:59:27 -03:00

317 B

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.