mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 09:25:54 +00:00
docs: add nuxt 2 note for public directory (#894)
This commit is contained in:
parent
5d392d132e
commit
0f7b252b3f
@ -7,3 +7,7 @@ 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.
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user