tauri icon indicating copy to clipboard operation
tauri copied to clipboard

如何在生产中 将本地nodejs存放本地调用使用!

Open wfc66986 opened this issue 2 years ago • 2 comments

Describe the bug

如何在生产中 将本地nodejs存放本地调用使用!

Reproduction

No response

Expected behavior

如何在生产中 将本地nodejs存放本地调用使用!

Platform and versions

如何在生产中 将本地nodejs存放本地调用使用!

Stack trace

No response

Additional context

No response

wfc66986 avatar May 30 '23 06:05 wfc66986

Could you explain your question a bit more, maybe with some examples? I honestly have to idea what you're asking for - the english translation didn't make much sense to me tbh.

Since you're mentioning nodejs, one thing so we're on the same page: There is no nodejs runtime in a tauri app. - I doubt that this will answer your question...

FabianLars avatar May 30 '23 08:05 FabianLars

pkg打包你的nodejs代码为exe,然后通过sidecar调用,这里有一个官方提供的示例

FlysoftBeta avatar May 30 '23 14:05 FlysoftBeta