RC
RC
  • Get Started
  • Guide
  • API
  • Examples
  • Community
    • Auto imports
    • Vue.js Development
    • Rendering Modes
    • Server Engine
    • Modules
    • ES Modules
    • TypeScript
    • .nuxt
    • .output
    • assets
    • components
    • composables
    • content
    • layouts
    • middleware
    • node_modules
    • pages
    • plugins
    • public
    • server
    • .gitignore
    • .nuxtignore
    • app.config.ts
    • app.vue
    • nuxt.config.ts
    • package.json
    • tsconfig.json
    • How Nuxt Works?
    • Lifecycle Hooks
    • Module Author Guide
    • Nuxt Kit
    • NuxtApp
    • Runtime Config
    • Edge Channel

Public Directory

The public/ directory is directly served at the server root and contains public files that have to keep their names (e.g. robots.txt) or likely won't change (e.g. favicon.ico).

This is known as the static/ directory in Nuxt 2.

Directory Structure

plugins

Directory Structure

server