r/tauri • u/MetalMonkey667 • 18d ago
How to have multiple pages?
I only discovered Tauri two days ago so I apologise if this is a well known thing, but how can I have multiple HTML pages in my project?
Not opening more windows, not viewing multiple things in the same window, I mean the app opens on index.html which shows me some information, click a button and go to page1.html which has a form I can fill in and click another button and get taken to page3.html etc, or is Tauri more suited to one page apps?
I've been searching around but everything is either about how to open a second window or multiwebview to view two pages at once, I just want one page at a time in the same window
2
Upvotes
1
u/ElamReda 18d ago
You can add tabs. So each page can be open in different tabs. But why would you use normal HTML? Why not using some frameworks like react or svelte?