Dynamically added route at runtime
Hi, I'm trying to dynamically add a route at runtime, however, the solution below seems to add the route only after it's already resolved (?)
When I navigate directly to
Any idea what I'm doing wrong?
Thanks!
When I navigate directly to
/my-awesome-product, I get a 404 but if I continue to use the site without reloading (so that the route stays in the local vue router), the next navigation to /my-awesome-product works fine.Any idea what I'm doing wrong?
Thanks!