DEV Community

Discussion on: Leaving electron.js to the past.

Collapse
 
akashpattnaik profile image
Akash Pattnaik

That's possible, use the RUST API, just create your functions in rust and invoke them with window.__TAURI__.invoke('functionName')

Collapse
 
timleg002 profile image
Timotej Leginus

You don't need to invoke every command globally

Thread Thread
 
akashpattnaik profile image
Akash Pattnaik

Yeah, i was just giving an example, they have a pretty well documented docs at tauri.studio .