Build a server-rendered Vue site with Nuxt

8 steps · about 2 h 5 min · Intermediate

  1. Understand server-side rendering in Vue (article, Vue.js, 20 min)

    Explains what SSR and hydration buy you before a framework hides them.

  2. See what Nuxt adds on top of Vue (article, Nuxt, 10 min)

    Lists the conventions Nuxt sets up for you.

  3. Create and run a new Nuxt project (tutorial, Nuxt, 10 min)

    Gets a working dev server in a few commands.

  4. Add pages with file-based routing (reference, Nuxt, 15 min)

    Each file in pages becomes a route, including dynamic params.

  5. Fetch data on the server with useFetch (reference, Nuxt, 25 min)

    Shows how to load data once on the server and reuse it on the client.

  6. Set titles and meta tags per page (reference, Nuxt, 15 min)

    Makes server-rendered pages useful to search engines and link previews.

  7. Choose SSR, static or hybrid rendering (reference, Nuxt, 15 min)

    Route rules let you mix prerendered and dynamic pages.

  8. Build and deploy the app (reference, Nuxt, 15 min)

    Covers Node server output and static hosting presets.