dev-resources.site
for different kinds of informations.
[Rust]How to make string handing to frontend on tauri app
Published at
7/25/2024
Categories
tauri
rust
devops
developer
Author
nk_maker
Author
8 person written this
nk_maker
open
#[tauri::command]
pub fn simple_command()->String{
"String".to_string()
}
If you want to return a string in a Tauri command,add to_string() to the end of the string just like this.
This allows you to pass any string to the frontend like React.
tauri Article's
30 articles in total
Tauri (2) β Quick Start with Tauri + React (Open Source)
read article
Tauri (4) - Get the theme switching function fixed
read article
Tauri (3) - Get the window configuration right first
read article
Rewind AI + Cursor AI = screenpipe: how we built a high performance Rust frame streaming API (OSS)
read article
Interview with Prabhu Kiran Konda, Creator of Snail AI!
read article
Interview with Klauss Andrei, Creator of FocusPocus.io!
read article
I love Rust/Tauri & Svelte
read article
Tauri 2.0 - Sqlite DB - React
read article
Interview with Eson (Seven), Creator of DocKit!
read article
EcoPaste -Open source clipboard management tool for MacOS and Windows platforms
read article
Interview with Hussein Hareb, Creator of Ξw-monitor!
read article
Interview with Krzysztof Andrelczyk, Tauri Developer and Creator of Twili Recipes
read article
A story about prototyping a 'Desktop Directory Structure Visualization Tool' with Tauri
read article
How I Built an Open Source App That Went Viral
read article
Interview with Victor Aremu, Creator of Menote, Usezap and more!
read article
Interview with Johans Justs Eris, Tauri Developer for Blenderbase at PhysicalAddons
read article
Leptos + Tauri Tutorial
read article
Tauri dialog instead of window.confirm
read article
[Rust]How to make string handing to frontend on tauri app
currently reading
[Rust]Making struct for getting directory path
read article
Interview with Siddharth, creator of Micro, Tauri plugin decorum, and more!
read article
Tauri v2: Dos nuevos conceptos que debes conocer antes de actualizar tus apps a la nueva versiΓ³n
read article
How to Reasonably Keep Your Tauri Commands Organized in Rust
read article
Tauri vs. Electron: A Technical Comparison
read article
Interview with Simon Hyll, a Tauri Maintainer
read article
Interview with Vitor Ayres, a Tauri Maintainer
read article
I built an open-source multi-platforms Note-taking app using Reactjs and Tauri
read article
Announcing DevTools Premium
read article
Interview with Kareem Ebrahim, creator of TableX
read article
My opinion on the Tauri framework
read article
Featured ones: