Get Started with Nuxt: Data Fetching

Опубликовано: 21 Февраль 2025
на канале: Netlify
935
14

In the last lesson we had a sneak peak at using asyncData to get data from our API. In Nuxt.js, there are two ways to get data. Let's take a look at the differences between fetching data using the async data hook and using the fetch hook.

00:00 Introduction
00:14 Async data hook
00:46 Fetch hook
03:14 How to create a 404 page
05:27 Layouts
06:44 Conclusion
---

Connect with Netlify:
Website: https://www.netlify.com/
Forums: https://answers.netlify.com/
Twitter:   / netlify  
LinkedIn:   / netlify  
Facebook:   / netlify  
Jamstack: https://jamstack.org/

Come help us build a better web! https://www.netlify.com/careers/