Nuxt/docs/content/3.docs/2.directory-structure/11.public.md

14 lines
404 B
Markdown
Raw Normal View History

---
icon: IconDirectory
title: public
head.title: Public directory
---
# Public directory
2021-10-12 14:58:28 +00:00
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.
::