This is a template for creating an egui app that runs inside a tauri webview window.
This is a reduced version of eframe_template with tauri and hframe added.
Although this adds a lot of overhead, it can be useful if you need to show web content alongside your egui app or maybe use some web API.
For example, you can use this to embed multimedia content that the web naturally supports like videos.
Or maybe you want to show an iframe
.
This template comes with hframe to help you with that.
Install Tauri CLI and run cargo tauri dev
.
Install Trunk and run trunk serve
.
Note: When used as a web app, Tauri commands will not work.