Error Handling in Nuxt 3
summary
Builds an online course shell with nested routing, lesson pane, localStorage lesson completion later backed by Supabase + Prisma, then demonstrates breaking rendering by throwing a createError and showing how Nuxt Error Boundary catches it and swaps to an error slot instead of crashing the page. The caught error is a ref accessed as error.value, and resetting it with error.value = null restores the component while noting you must fix the root cause or the error will recur; also recommends external logging (Rollbar/etc.).
AI-written summary · about
chapters (7)
- 0:00Introduction
- 3:22Why Error Handling
- 12:56Next Error Boundary
- 20:51Promotion
- 21:56Book
- 23:06Questions
- 30:46Conclusion
related talks
28mError Handling in Nuxt 3
08mUnderstand the hard parts of Nuxt
02h 31mPractical NuxtJS
38mLarge Scale Nuxt Architecture
34mNuxt + Vue: The Game-Changer Your New Projects Deserve
27mStop making these Nuxt & Vue mistakes: introducing @nuxt/hints 1.0
30mPerformance-Minded Development with Nuxt 3
01mDevelopers' Mistakes with Nuxt – Dan Pastori
