Nuxt.js

How are static site generation (SSG) and server-side rendering (SSR) different in Nuxt.js?

Answer:

Static site generation (SSG) in Nuxt.js pre-builds every page into HTML at build time with the nuxi generate command, while server-side rendering (SSR) builds each page's HTML on the server at request time with nuxi build. Nuxt 3.1, released in January 2023, added routeRules, so a single app can mix both approaches per route instead of picking just one for the whole site.

Curved left line
We're Here to Help

Thinking about how to expand a tech team flexibly to adapt to different working paces?

Accelerate development, meet launch deadlines with flexible, much-needed capacity. Add new skills your team currently lacks.

Curved right line