Answer the question
In order to leave comments, you need to log in
How to change url after page rendering in Nuxt.js? Can this be done at all?
Good afternoon!
There are two pages, parent and child, let's call them index.vue and _id.vue
On the parent page, a request is made to the server and links with IDs for the child page are formed. When you click on the link, go to the child page - /index/{id} and make a request to the server using the id from the route parameters. But I need the route to look like this /index/{page_title} and not like this /index/{id}
Is it possible to change the route after a request to the server on the child page so that nothing breaks?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question