Being new to Rust, I'm starting with various simple examples to understand some of the dynamics. Tauri has been gaining popularity as a goto cross-platform desktop application approach over Electron with a Rust back-end. This article includes some basic examples.
Example 1 - Basic Hello World
cargo install create-tauri-app --locked
cargo create-tauri-app
# I chose Typescript for frontend, npm for package manager and React for the UI
cd hellorusttaurireact
npm install
npm run tauri dev
Example 2 - Simple Standard Application
As a starting point, I found Echoo which seemed to fit general feature needs. (https://github.com/zsmatrix62/echoo.app/tree/main)
Part 1 - Menu Bar
I copied the content directly from the Echoo application for initial testing purposes.
All of the initial menu handling is in the Rust area. The Echoo developers broke up the UI content into a rust module, which I appreciate over the monolithic examples you sometimes see.
Part 2 - Toolbar (Try 1)
I attempted Chakra UI next with React since Bootstrap seemed to render oddly. This is technically a Navbar, so unsure whether I'm happy with that.
(more to come)