Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Master Vue.js with Vue School Premium

$25 / month

Async Data with Nuxt.js

Get access to this course, 17 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

The asyncData method and the context

Nuxt.js has a special method called asyncData that we have to use when we're rendering our application on the server-side. In this lesson, we'll learn how to fetch data with asyncData and also how to access our route parameters and other goodies through the context object.

If you want to learn more about setting metadata in Nuxt, please see our Nuxt.js SEO and Meta Tags from our Nuxt.js Fundamentals course