Konyaco
12/01/2022, 4:06 AMimplementation(npm("@tauri-apps/api", "1.2.0", true))
But I got lots of compilation error in lib.dom.kt
(Prcture 1), which is converted from tsstdlib
ts library.
I think we just need the invoke()
function defined in tauri (Picture 2), so I tried to set generateExternals
to false
and manually add external definition in my Main.kt
, then the Tauri console tells me "cannot found xxx function."
What is the recommended way to use tauri in k/js?