Question about whether tauri will support webserver #2537
-
Hello everyone. I want to ask a question about tauri architecture. For example, I have a vuejs project that requests data from webservers through js. Now I can use tauri to package vuejs as a desktop and also access webservers. My question is, will tauri provide some way to package webservers to desktop? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, Tauri is a framework to embed Javascript web application in native "desktop" application. Rust is used as system language to communicate with your file system. Maybe I don't understand correctly your project, please fix me if I'm wrong. "My question is, will tauri provide some way to package webservers to desktop?"
If you are familiar with Electron, you can see the differences between both: |
Beta Was this translation helpful? Give feedback.
Hello,
Tauri is a framework to embed Javascript web application in native "desktop" application. Rust is used as system language to communicate with your file system.
Maybe I don't understand correctly your project, please fix me if I'm wrong.
If you have a VueJS application with a REST api (or something else) to communicate with your backend. You can use Tauri to create a native application with your existing VueJS and continue to call your backend using the same queries.
"My question is, will tauri provide some way to package webservers to desktop?"
If by
webservers
you meanbackend
. It depends of you project. But yes you can release a native application with: