• Docs
  • Modules
  • Templates
  • Resources
  • Enterprise
  • Blog
58.3K
  • Get Started
  • Guide
  • API
  • Deploy
  • Examples
  • Community
    • .nuxt
    • .output
      • assets
      • components
      • composables
      • layouts
      • middleware
      • pages
      • plugins
      • utils
      • app.vue
      • app.config.ts
      • error.vue
    • content
    • modules
    • node_modules
    • public
    • server
    • shared
    • .env
    • .gitignore
    • .nuxtignore
    • .nuxtrc
    • nuxt.config.ts
    • package.json
    • tsconfig.json
    • Auto-imports
    • Nuxt Lifecycle
    • Vue.js Development
    • Rendering Modes
    • Server Engine
    • Modules
    • ES Modules
    • TypeScript
    • Code Style
    • Events
    • Experimental Features
    • Features
    • How Nuxt Works?
    • Runtime Config
    • Nightly Release Channel
    • Lifecycle Hooks
    • Module Author Guide
    • Nuxt Kit
    • NuxtApp
    • Authoring Nuxt Layers
    • Debugging
    • Custom Routing
    • Vite Plugins
    • Custom useFetch
    • Sessions and Authentication
    • Nuxt and hydration
    • Nuxt Performance
    • Nuxt Plugins
  1. Guide
  2. 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.

public

The public/ directory is used to serve your website's static assets.

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
  • Docus

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