How to NOT Block Navigation in Nuxt
summary
Shows how to serve cached page data immediately in Nuxt by using useFetch/useAsyncData/useNuxtData, assigning a cache key when fetching the list, then reading that cache by slug on the detail route to return a ref if present. If cached item exists, the page renders immediately; otherwise lazy fetch kicks in with a provided default value and skeleton UI while the backend fills in the rest, avoiding blocked navigation.
AI-written summary · about
related talks
31mCommon Mistakes in Vue and Nuxt and How to Avoid Them
01mDevelopers' Mistakes with Nuxt – Sébastien Chopin
38mVue/Nuxt SEO Essentials
25mData Fetching Done Right
55mNuxt.js: isomorphic Vue.js Apps made easy, fast and fun
01mDevelopers' Mistakes with Nuxt – Julien Huang
27mGoing Static in a Dynamic World with Hasura and Nuxt.js
26mThe State of Nuxt
