Answer the question
In order to leave comments, you need to log in
How to build dynamic paths from api in nuxt(Vue)?
There is a site it has a simple api,
GET /pages list of all pages ( json array with names , paths and template [*.Vue])
GET /PAGE/:name specific page data (json array with text, title and path)
I want to do application on Vue(nuxt) , which will, upon request, receive a list of all pages, if the requested page is in the array, open a specific template from the array. Upon opening the page, another request is made to get the page data and the page is filled. I can't figure out how to get routes via axios.
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