Using <ClientOnly> in Nuxt 3 to Safely Access Browser APIs
Learn how to wrap browser‑dependent components with <ClientOnly> in Nuxt 3 to avoid SSR errors, see the mechanism in action, and avoid common pitfalls.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to wrap browser‑dependent components with <ClientOnly> in Nuxt 3 to avoid SSR errors, see the mechanism in action, and avoid common pitfalls.
Learn how to use Nuxt 3 Route Rules to serve SSR, SSG, or CSR per route, improve FCP and SEO, and avoid common pitfalls.
Learn how Nuxt 3’s file‑based routing automatically lazy‑loads dynamic routes and how to pair them with server API routes to keep initial JavaScript small while fetching data on demand.
Learn how to turn a Nuxt 3 app into a single Nitro‑powered serverless function, the minimal design, trust boundaries, operational checks, and when to re‑architect.
Vue Storefront SSR keeps API secrets on the server and sanitized catalog data on the client. Learn the trust boundary, hydration checks, and failure modes.
Expose a stable JSON endpoint from a Nuxt server route, validate input with createError, and consume it with useFetch without hydration mismatches.
Nuxt routeRules in nuxt.config let you control SSR, SSG, CSR, SWR, and ISR per route without editing page components. Learn the mechanism, a worked example, and verification steps.
Nuxt's file-based routing turns a directory of Vue components into a working blog without manual route config. Pair it with @nuxt/content for Markdown-driven posts and static generation for fast, SEO-friendly pages.
Nuxt 3 route rules let you declare prerendering, SSR, and caching per route in nuxt.config.ts. Learn how to choose a strategy, verify the build output, and avoid stale-cache surprises.