mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-23 17:10:07 +00:00
14 lines
468 B
Markdown
14 lines
468 B
Markdown
---
|
||
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.
|
||
::
|