From 0f7b252b3f0490699427124e9db16e04f7781316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Levi=20=28Nguy=E1=BB=85n=20L=C6=B0=C6=A1ng=20Huy=29?= Date: Wed, 13 Oct 2021 15:54:57 +0700 Subject: [PATCH] docs: add nuxt 2 note for public directory (#894) --- docs/content/3.docs/2.directory-structure/11.public.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/3.docs/2.directory-structure/11.public.md b/docs/content/3.docs/2.directory-structure/11.public.md index 0d29e49fc4..7a0764b181 100644 --- a/docs/content/3.docs/2.directory-structure/11.public.md +++ b/docs/content/3.docs/2.directory-structure/11.public.md @@ -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. +::