npx create-tauri-app
was used to scaffold this repo, choosing:
- vite
- react
- typescript
- main.rs shows a Rust command that creates a new window using the
WindowBuilder - App.tsx uses
invoketo call that command in response to a button click - The fancy overlay window opens showing that Tauri windows are very versatile
- Overlay.tsx makes use of the
@tauri-apps/api/windowmodule to close the overlay window again (usinggetCurrentandWebviewWindow.close()) - vite.config.ts has some special configuration to make the Vite + Tauri DX nicer