SPA app page refresh produces errors

Firstly let me say I love building SPA apps with Wappler. I cannot see myself going back to includes and multi page sites again.

BUT, I am having a bit of hit and miss luck with pages with parameters in the url - 1 or 2 params where the link would look like this in the end:

https://www.whatsyourorder.cloud/establishment/othenentik-bakery

I do not know if it is because there is a visual way of doing this and I do not do it right, but sometimes it works and sometimes not.

In this case I just put a card on the page:

https://www.whatsyourorder.cloud

You click on it and it takes you to the establishment page, but when I link there directly or refresh the page, I get an error.

I would like to be able to use this method: establishment/:nametag/:customername with success every time, but just not getting it to work dispite my code looking 100% correct on the pages I can see: index.html for the main page and then establishment for content page.

On another app I built I got it to work with 2 params, but trying now I get the errors on refresh.

Please help.

Community Page
Last updated: