One Nuxt App, Four Rendering Modes: Route Rules in Practice
Nuxt 3's routeRules let you pick SSR, static, SWR, or SPA rendering per route in one app. A worked e-commerce example, verification steps, and honest trade-offs.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Nuxt 3's routeRules let you pick SSR, static, SWR, or SPA rendering per route in one app. A worked e-commerce example, verification steps, and honest trade-offs.
Use Nuxt 3 route rules to assign SSR, SSG, ISR, or SWR to each page, balancing speed, freshness and security. This guide walks through requirements, design, trust boundaries, checks, and failure modes.
Learn how to spot, diagnose, and fix Nuxt 3 SSR hydration mismatches when using the useFetch composable.
Vue Storefront’s storefront never calls your commerce backend directly — a separate middleware server holds credentials and normalizes APIs. Here’s how the layer works, with a real config, an extension example, and the mistakes to avoid.
Most Nuxt SSR data bugs come from useAsyncData options nobody consciously chose. Here's how to decide between server and client fetching, work the cache deliberately, and verify the result in a production preview.
Learn how to configure a single Vue Storefront 2.x instance to serve multiple store views with distinct locales, currencies and catalogs.
When building with Vue Storefront, the biggest hurdle is deciding whether the transformation logic should live in the frontend composables or the server middleware.
Learn how to use Nuxt 3 routeRules to implement hybrid rendering. Configure SSR, SSG, SPA, and ISR per route to optimize performance, SEO, and server load.
Stop guessing between SSR and SSG. Learn how to use Nuxt Route Rules to balance build times, server load, and content freshness for content-heavy applications.