Unverified Commit fb9ca494 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Update static file serving doc to mention Next.js 10 (#20815)

Fixes #20403
parent 991ad922
...@@ -18,6 +18,8 @@ function Avatar() { ...@@ -18,6 +18,8 @@ function Avatar() {
export default Avatar export default Avatar
``` ```
> Note: `next/image` requires Next.js 10 or later.
This folder is also useful for `robots.txt`, `favicon.ico`, Google Site Verification, and any other static files (including `.html`)! This folder is also useful for `robots.txt`, `favicon.ico`, Google Site Verification, and any other static files (including `.html`)!
> **Note**: Don't name the `public` directory anything else. The name cannot be changed and is the only directory used to serve static assets. > **Note**: Don't name the `public` directory anything else. The name cannot be changed and is the only directory used to serve static assets.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment