Access the Router Params to Load Page-Specific Data in Vue.js and Nuxt

Share this video with your friends

Send Tweet

A common pattern in apps is to use the data from the url to modify which data is loaded. This lesson walks your through accessing and passing information from the router into your http request so that the appropriate data loads depending on which page you open.

Diego
Diego
~ 7 years ago

Is the hacker-news url working? I am receiving 401 response.