Why use Vuex in Nuxt?
1:57
From asyncData to Vuex (naive version)
13:06
Refactoring with deserializers, destructuring
9:28
Loading Strategies for Vuex
4:53
Preloading, Middleware, and Promises
13:19
Review of Nuxt + Vuex
3:53
0% done with NuxtJS + Vuex: Deserialization, load strategies, middleware

Chapter 16 of 27 in Building VueScreencasts.com
From asyncData to Vuex (naive version)

In this video, we take the functions in our asyncData hooks and translate them into Vuex.

We'll use the fetch hook to trigger Vuex actions, then the rest of the app will get data from Vuex's state.

What do others think of VueScreencasts?
"I spent all evening doing Nuxt registration. I wish I had've spotted this video sooner. 🤦🏻‍♂️. Excellent and clear tutorial. Thank you!"
—Si D
"Saved me loads of time!!"
—Jack Simple
"Thank you so much."
—Ayoub Hammoudan
"Thank you."
—มะ ม๋า
Take your career to the next level