mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
944bba97ca
Co-authored-by: Pooya Parsa <pooya@pi0.io>
14 lines
408 B
Markdown
14 lines
408 B
Markdown
---
|
||
icon: IconDirectory
|
||
title: public
|
||
head.title: Public Directory
|
||
---
|
||
|
||
# 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`).
|
||
|
||
::alert{icon=💡}
|
||
This is known as the [`static/`](https://nuxtjs.org/docs/directory-structure/static) directory in Nuxt 2.
|
||
::
|