mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-02 10:27:15 +00:00
9a0fc57724
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com> Co-authored-by: pooya parsa <pyapar@gmail.com>
14 lines
404 B
Markdown
14 lines
404 B
Markdown
---
|
||
icon: IconDirectory
|
||
title: public
|
||
head.title: Public directory
|
||
---
|
||
|
||
# Public directory
|
||
|
||
The `public/` directory is directly served at 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.
|
||
::
|