In this lesson, we look at how we can use route rules to configure how Nuxt 3 renders each part of our app — this is called Hybrid Rendering.
NOTE: Currently this is experimental, so use caution here. The API might change before it’s fully stable.
We can specify different render modes on a per-route basis. We can disable SSR, enable static generation, and use full incremental static generation (SWR) where it’s supported.
There are also utilities to specify redirects and headers on a per-route basis, which is very convenient.
VueSchool article on Hybrid Rendering: https://vueschool.io/articles/vuejs-tutorials/hybrid-rendering-in-nuxt-js-3/
Stale-while-revalidate (SWR): https://web.dev/stale-while-revalidate/
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons