I’m currently doing a project for my university, where I have to build an application.
Unfortunately the routing for my Website only works the only the first time. So the page doesn’t render the second time. Here is my routing (it is the case for all pages):
→ OEEwebbapplication → OEESimulation → OEEMachine-1 → OEESimulation (It doesn’t matter whether I use a button to get back or the “back” button of the browser).
Can someone help me? Let me please know, if you need additional information.
It’s a little odd that you have spaces in your Component file names OEE Simulation.vue and file paths /Pages/OEE Machines/. I am not sure if that would cause issues but it is definitely not good practice.
What does the code for one of your pages look like? Are all your pages wrapped in an IonPage?
However I don’t know how to incorporate the Menu component now.
I mean if I put it into the IonPage container, it doesn’t work right (I can open it but I can’t select things or close it). Do you have an advide here?
Ah, that is an exception I’ve not used the IonMenu, but it would seem that you would need to make sure IonMenu is a direct sibling of IonPage and not wrapped in a div.
OK, but the problem is that if I make the IonMenu a sibling of IonPage, the routing back to these pages doesn’t work, so I have to choose between the Menu or the routing.