Learn Nuxt with a Collection of 100+ Tips!
View Tips
v3.17v3
  • Docs
  • Integrations
  • Resources
  • Enterprise
  • Blog
Nuxt on GitHub
  • Get Started
  • Guide
  • API
  • Examples
  • Community
    • .nuxt
    • .output
    • assets
    • components
    • composables
    • content
    • layouts
    • middleware
    • modules
    • node_modules
    • pages
    • plugins
    • public
    • server
    • shared
    • utils
    • .env
    • .gitignore
    • .nuxtignore
    • .nuxtrc
    • app.vue
    • app.config.ts
    • error.vue
    • nuxt.config.ts
    • package.json
    • tsconfig.json
  1. Docs
  2. Guide
  3. Directory Structure

node_modules

The package manager stores the dependencies of your project in the node_modules/ directory.

The package manager (npm or yarn or pnpm or bun) creates this directory to store the dependencies of your project.

This directory should be added to your .gitignore file to avoid pushing the dependencies to your repository.
Was this helpful?
Report an issue or Edit this page on GitHub

modules

Use the modules/ directory to automatically register local modules within your application.

pages

Nuxt provides file-based routing to create routes within your web application.

Community

  • Become a Sponsor
  • Master Nuxt
  • Nuxt Certification
Nuxt on DiscordNuxt on BlueskyNuxt on XNuxt on GitHub

Community

  • Nuxters
  • Team
  • Design Kit

Products

  • Nuxt UI Pro
  • Nuxt Studio
  • NuxtHub

Enterprise

  • Support
  • Agencies
  • Sponsors

Stay updated on new releases and features, guides, and community updates.

Nuxt on XNuxt on BlueSkyNuxt on LinkedInNuxt on DiscordNuxt on GitHub

Copyright © 2016-2025 Nuxt - MIT License