Questions tagged [tauri]

Tauri is a toolkit that helps developers make applications for the major platforms -- using HTML, CSS, and JavaScript. The core is built with Rust and leverages the local Webview2 / WebKit instance.

Resources:

262 questions
1
vote
1 answer

In Tauri how can I emit an event to the frontend when I click a menu item

I am new to both Tauri and Rust, I'm trying to emit events to the frontend when certain menu items are clicked fn main() { Builder::default() .menu(build_menu()) .on_menu_event(|event| { match event.menu_item_id() { …
1
vote
1 answer

I am trying to create a new window using Tauri 1.2, Rust, React, and Typescript. I am facing some issues

I am using Tauri's WindowBuilder to try and create a new window in Rust. While I was able to generate a blank window, I am unable to: display any content on the window make the window close I am fairly new with Rust and Tauri so forgive me if…
pdox
  • 31
  • 3
1
vote
0 answers

Using tauri with multiple Rust executables

I'm using Tauri and Rust to make an app and I have two binaries in Rust: One is the tauri app, and the other is a helper program (turning Rust structs into Typescript interfaces). I set the tauri app binary as the default binary in the…
1
vote
0 answers

How do I fix database caching for Tauri - Rust with Diesel and SQLite?

I am trying to build a small app with Tauri and SQLite database with Diesel ORM and every time I start the app with yarn tauri dev it will bring the first data from the migration script of the database. Even if I remove the database it will bring…
Robert
  • 186
  • 3
  • 6
  • 16
1
vote
0 answers

Manipulate CSS/ELEMENTS with JavaScript

I want to manipulate css and elements with JavaScript via using Tauri APP. Here some images of source code and etc: enter image description here index.html