Build a server-rendered Vue site with Nuxt
8 steps · about 2 h 5 min · Intermediate
- Understand server-side rendering in Vue (article, Vue.js, 20 min)
Explains what SSR and hydration buy you before a framework hides them.
- See what Nuxt adds on top of Vue (article, Nuxt, 10 min)
Lists the conventions Nuxt sets up for you.
- Create and run a new Nuxt project (tutorial, Nuxt, 10 min)
Gets a working dev server in a few commands.
- Add pages with file-based routing (reference, Nuxt, 15 min)
Each file in pages becomes a route, including dynamic params.
- 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.
- Set titles and meta tags per page (reference, Nuxt, 15 min)
Makes server-rendered pages useful to search engines and link previews.
- Choose SSR, static or hybrid rendering (reference, Nuxt, 15 min)
Route rules let you mix prerendered and dynamic pages.
- Build and deploy the app (reference, Nuxt, 15 min)
Covers Node server output and static hosting presets.