mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +00:00
dc47c64f14
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Sébastien Chopin <seb@nuxtjs.com> Co-authored-by: Pooya Parsa <pooya@pi0.io> Co-authored-by: pooya parsa <pyapar@gmail.com> Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
15 lines
497 B
Markdown
15 lines
497 B
Markdown
---
|
||
navigation.icon: IconDirectory
|
||
title: "public"
|
||
description: "The public/ directory is used to serve your website's static assets."
|
||
head.title: "Public"
|
||
---
|
||
|
||
# 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.
|
||
::
|