docs: add nuxt 2 note for public directory (#894)

This commit is contained in:
Levi (Nguyễn Lương Huy) 2021-10-13 15:54:57 +07:00 committed by GitHub
parent 5d392d132e
commit 0f7b252b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
::