Load Data from APIs with Nuxt and Vuex

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Before each page loads, Nuxt supports pre-fetching data to render what you need on the server. This lesson walks you through using Nuxt's fetch to load data then save it in the Vuex store.

Nuno
~ 4 years ago

Hello, I'm stuck. Code not working lesson 6. Now deprecated. "Request failed with status code 404" Any help please?

Will Johnson
~ 4 years ago

Hello, I'm stuck. Code not working lesson 6. Now deprecated. "Request failed with status code 404" Any help please?

Hey Nuno the URL for the todos has been depreciated due to the change to Vercel. It's no longer a valid URL. You can use something like this (https://jsonplaceholder.typicode.com/) to mock your own todos data