Courses / Specialisations & media / Nuxt Fundamentals

₹149Self-paced

Nuxt Fundamentals

Build a Nuxt 4 application with mixed rendering modes, server routes, cached data, access checks and tests.

  • Who it's for. Vue developers who know REST basics and want to build server-rendered, SEO-friendly applications with Nuxt.
  • Before you start. Prerequisite courses: Vue.js Fundamentals, REST API Design.
  • 26 to 45 hours of study with practice
  • 8 modules, 44 lessons
  • 3 guided projects and a final project

What you'll learn

  • Describe the Nuxt 4 project layout and use auto-imports, file-based routes, layouts and error pages.
  • Fetch data with useFetch, useAsyncData and $fetch and control status, keys, laziness and payload size.
  • Manage shared state, runtime and app configuration, modules and head metadata without leaking secrets.
  • Separate UX redirects from server-side enforcement and audit what the browser receives.
  • Build, test with @nuxt/test-utils and package a Nuxt app for a node, static or other target at concept level.

Skills you'll gain

  • Project
  • routing
  • Rendering modes
  • SEO
  • Data fetching
  • Server endpoints with Nitro
  • State
  • configuration
  • modules
  • Auth boundaries
  • Caching
  • assets
  • Testing
  • application delivery

Tools you'll use

  • Nuxt 4
  • Vue 3
  • Nitro server routes
  • @nuxt/test-utils
  • Vitest
  • curl

Details to know

  • Certificate on completionIssued after your final project is reviewed
  • 8 module checkpointsA quiz and a practical task close each module
  • Self-pacedStudy any time; your progress is saved

How every lesson works

Each lesson follows the same four steps, so you always know what comes next.

  1. 01

    Watch & Learn

    A short animated video explains one idea at a time.

  2. 02

    Guided Practice

    Work through an example step by step and check the result.

  3. 03

    Quiz & Challenge

    Short questions check the idea has landed before you move on.

  4. 04

    Mini Project

    Build something useful from a project brief.

Learn at your own pace

This is a self-paced course. There are no live classes and no fixed timetable.

  • Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
  • Pick up where you left offYour progress is saved to your account.
  • Ask when you're stuckUse Ask Mentor inside the learning platform.

Your path in 4 phases

Each phase ends with something you have built and checked.

  1. 01

    Modules 1 to 2

    Project and routing to Rendering modes and SEO

    Read a Nuxt 4 project layout, use auto-imports, and build file-based routes, layouts and error handling.

    You build: Guided project “Recipe site: routes and rendering”: Pages with a dynamic route and two layouts.

  2. 02

    Modules 3 to 4

    Data fetching to Server endpoints with Nitro

    Load data on server and client with useFetch, useAsyncData and $fetch, and control status, keys, caching of results and payload size.

    You build: Guided project “Recipe site: data and API”: Reactive search with loading, error and success states; GET and POST handlers with 400 and 404 handling.

  3. 03

    Modules 5 to 7

    State, configuration and modules to Caching and assets

    Share state safely across SSR, configure runtime values without leaking secrets, and extend the app with modules.

    You build: Guided project “Recipe site: state, access and caching”: Runtime config split and a handler that returns 401 and 403; swr and header rules verified by curl.

  4. 04

    Module 8

    Testing and application delivery

    Build the app for a chosen target, run it, and test components, endpoints and rendered pages with @nuxt/test-utils.

    You build: Final project build and trainer-reviewed demonstration (see project).

Full curriculum

8 modules and 44 lessons, 26 to 45 hours of study

01Project and routing5 lessons, 2 to 4 hours

Lessons

  • Reading the Nuxt 4 project layout
  • Auto-imports for components, composables and utils
  • File-based pages and dynamic route params
  • Layouts and switching between them
  • Route validation, error pages and createError

After this module you can

  • Create a Nuxt project, then label from its tree which folder holds pages, server code, shared code and static files.
  • Use a component and a composable without writing import lines, then replace one with an explicit #imports import.
  • Reject an invalid route parameter with a 404 and customize the error page with error.vue.
02Rendering modes and SEO6 lessons, 3 to 4 hours

Lessons

  • Universal rendering and hydration
  • Client-only rendering with ssr false
  • Prerendering static pages with nuxt generate
  • Hybrid rendering with routeRules
  • Client and server component boundaries
  • Head tags and SEO metadata

After this module you can

  • Fetch a page with curl and show that the server HTML already contains the content that Vue later hydrates.
  • Switch an app to client-only rendering and prove the delivered HTML is an empty shell.
  • Set a title and meta description per page and read them from the delivered HTML.
03Data fetching6 lessons, 3 to 4 hours

Lessons

  • Choosing $fetch, useFetch or useAsyncData
  • How server-fetched data reaches the client
  • Status, error, refresh and clear
  • Keys, watch and reactive request inputs
  • Lazy loading and navigation blocking
  • Trimming payload and serialisation traps

After this module you can

  • Pick the right fetching helper for three situations and justify each choice from deduplication and payload behaviour.
  • Explain and verify that the payload carries server data so hydration does not repeat the request.
  • Reduce what is sent to the client with pick or transform, and predict how a Date or class instance arrives.
04Server endpoints with Nitro5 lessons, 2 to 4 hours

Lessons

  • Mapping server files to URLs
  • Method-specific handlers and 405 responses
  • Dynamic params, query strings and bodies
  • Validating input and returning errors with createError
  • Server middleware, utils and plugins

After this module you can

  • Create handlers in server/api and server/routes and predict the URL of each file.
  • Restrict a handler to GET or POST with file suffixes and observe the method-not-allowed result.
  • Add a request-logging middleware and a shared server util and predict where each runs.
05State, configuration and modules6 lessons, 3 to 4 hours

Lessons

  • Shared state with useState
  • Why module-level refs leak between requests
  • Initial state, callOnce and clearing state
  • Runtime config: private and public values
  • app.config versus runtimeConfig
  • Adding Nuxt modules and head defaults

After this module you can

  • Share a value between two components with useState and show it survives server rendering into hydration.
  • Explain and reproduce, in a throwaway experiment, why an exported module-level ref is unsafe on the server.
  • Add a module through the modules array and explain what runs at build time.
06Auth boundaries5 lessons, 2 to 4 hours

Lessons

  • Route middleware types and return values
  • Middleware order and server-plus-client execution
  • Session cookies from a server route
  • Enforcing access in server handlers
  • What the browser receives: payload and config exposure

After this module you can

  • Write anonymous, named and global route middleware and control navigation by return value.
  • Predict and verify execution order and the double run on initial server render.
  • Audit a page for secrets in HTML, payload, app.config and forwarded headers.
07Caching and assets5 lessons, 2 to 4 hours

Lessons

  • swr and isr route rules
  • Client-side cache reuse with getCachedData and dedupe
  • HTTP cache headers through routeRules
  • Static files: public versus app/assets
  • Bundle weight: Lazy components and inlined styles

After this module you can

  • Apply swr to a route and describe from headers and files what is cached and where.
  • Reuse already-fetched data on navigation and control repeat refreshes.
  • Defer a heavy component with the Lazy prefix and read what the build reports.
08Testing and application delivery6 lessons, 3 to 4 hours

Lessons

  • Building and running the Node server output
  • Static hosting with nuxt generate
  • Presets and deployment targets
  • Unit and component tests with @nuxt/test-utils
  • End-to-end checks of rendered pages and endpoints
  • Release checklist and capstone assembly

After this module you can

  • Build the app and start the produced server, reporting the entry file and port variable.
  • Prepare a static deployment and list limitations versus a server deployment.
  • Assemble the capstone and run a release checklist covering build, config, endpoints and tests.

What you'll build

3 guided projects along the way, then a final project.

  • Recipe site: routes and rendering

    after module 2
  • Recipe site: data and API

    after module 4
  • Recipe site: state, access and caching

    after module 7

Final project

A Nuxt 4 application with mixed rendering modes, server routes, a data lifecycle with caching, enforced access checks, a test suite and a documented build for a chosen deployment target. Choose one option: Community library catalogue Local events board.

What you submit

Source repository or archive submission with setup instructions (install, env variables, build, start). Functional checks: curl script covering each render mode, each endpoint success and failure status, and a leak audit.

How it's reviewed

Trainer review against the rubric: Render mode matches the page's needs (25%); Endpoints and validation correct (20%); Access enforced server-side (20%); Tests and evidence reproducible (20%); Setup instructions and explanation (15%).

Where you'll use it

  • Choose server rendering or pre-rendering per page so public pages load fast and are indexable.
  • Add a server endpoint with an access check so only signed-in users can change data.

Roles that use these skills

  • Full-stack developer
  • Vue developer
  • Front-end engineer

Earn the certificate by building, not watching

  1. Complete the lessons and pass each module checkpoint.
  2. Build your final project and demonstrate it.
  3. OUTLEARN reviews your project and issues your certificate. It is not issued automatically.

Frequently asked questions

What do I need before I start?

Prerequisite courses: Vue.js Fundamentals, REST API Design. Completed Vue.js Fundamentals (single-file components, reactivity, props, composition API, router and async-data ideas) and REST API Design (HTTP methods, status codes, JSON). Diagnostic: write a Vue component that fetches JSON and renders a loading, error and data state, and name the status code for 'not found' and for 'not authenticated'. Comfort with a terminal and Node.js is expected.

Do I get a certificate?

We do not issue certificates until you successfully build and demonstrate your live project. Module and final assessments are planned; the module pass rule is proposed, not final. Certificates are issued by OUTLEARN staff; nothing is issued automatically.

What do I build at the end?

A Nuxt 4 application with mixed rendering modes, server routes, a data lifecycle with caching, enforced access checks, a test suite and a documented build for a chosen deployment target. Choose one option: Community library catalogue; Local events board; Workshop booking site.

Be first in when Nuxt Fundamentals opens

Email us and we will tell you as soon as enrolment opens.

Notify me when it opens
₹149Opens soon
Notify me