In this lesson, we update our lesson endpoint to use Prisma.
We’ll do this by creating a nested where selector, returning the first lesson we find. We also have to update the type that our useLesson composable uses from our custom type to the Prisma generated type.
This course was originally built with Nuxt 3, but it's no longer being maintained. You can still follow the lessons, but make sure to use the exact dependency versions listed in the course repository to avoid breaking changes.
If you’re looking for the most up-to-date and fully supported version, we recommend Mastering Nuxt: Full Stack Unleashed , which uses Nuxt 4 and actively being maintained.
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons