What you'll need to learn NuxtJS
2:30
Why Nuxt?
4:03
Installing Nuxt
4:29
Exploring the Project Structure
5:51
Pages and Routing
12:29
Navbar and Layouts
9:39
axios, asyncData, and one downside of SSR
9:17
Meta Tags (Great for SEO!)
7:07
Vuex and Fetch in Nuxt
9:13
Review of Nuxt Basics
10:57
0% done with Introduction to NuxtJS

Chapter 14 of 27 in Building VueScreencasts.com
axios, asyncData, and one downside of SSR

In this lesson we learn how to use axios and the asyncData hook to get data from the server.

We also run into an issue with debugging -- because the initial page render is on the server, our console.log and debugger statements don't run like we expect.

Once we have our first API calls working, we then learn some tricks to make further API calls shorter and easier.

What do others think of VueScreencasts?
"Thank you for the lesson. I could not solve the problem with middleware in any way, but now everything fell into place."
—Адам Янг
"Thank you very much!!!!!!!"
—Idriss Jouid
"Thanks, really liking these videos."
—Mustahsinul Moula
"Thank You :)"
—xof
Take your career to the next level