resolveResource

external fun resolveResource(resourcePath: String): ERROR CLASS: Symbol not found for js.promise.Promise<kotlin/String>(source)

Resolve the path to a resource file.

Since

1.0.0

Parameters

resourcePath

The path to the resource. Must follow the same syntax as defined in tauri.conf.json > bundle > resources, i.e. keeping subfolders and parent dir components (../).