The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Preload Data using Promises with Vue.js and Nuxt.js

Preload Data using Promises with Vue.js and Nuxt.js

2:23
Nuxt.js allows you to return a `Promise` from your `data` function so that you can asynchronously resolve data before displaying the page. This allows the server to fetch the data and render the page once it's ready.
Watch this lesson now
Avatar
egghead.io

Nuxt.js allows you to return a Promise from your data function so that you can asynchronously resolve data before displaying the page. This allows the server to fetch the data and render the page once it's ready.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?