I have some simple html files which should be my app pages.
I tried linking between them simply with a <a> link-
This works fine in the browser, on my phone however, I reveive a “Page not found error”
Can someone give me a hint what I am doing wrong?
All html files inside /src. Links look like <a href="about.html">.
I think it would be helpful to study how modern web frameworks are working. Nowadays, <a> tag with linking a .html file directly is not a practice to route pages.
Thanks for your answer. It was an issue with vite, as vite is per default not intended to use multiple html files, hence only the index.html was copied to the dist folder.
I switched to parcel and not it works fine.
Sorry about this. It was not an issue related to capacitor directly, but thanks nonetheless.
Thanks for the link to the auto-discover package! I was not aware it existed and abandoned vite because manually adding all pages to the config file was too tideous.