Hi
I'm a frontend developer that using tauri with vite (and react).
I want to be able to create a menu that open a new settings window, which is another vite window in settings.html.
I created the windows in tauri.conf.json
"windows": [
{
"fullscreen": false,
"title": "App",
"height": 600,
"width": 230,
"resizable": true,
"decorations": false,
"transparent": true,
"alwaysOnTop": true
},
{
"label": "Settings",
"title": "Settings",
"url": "settings.html",
"closable": true,
// I made it unvisible at first because I want it to open when clicking the menu item
"visible": false
}
]
I creted the menu items I want.
I want to open settings only when the user clicks on this menu item.
BTW I don't know rust good enough.
How to open such window?
Thanks!