Skip to content

Commit

Permalink
Docs: Add static indicator diagram (vercel#68659)
Browse files Browse the repository at this point in the history
Adds static indicator diagrams to the `devIndicators` docs.
[DOC-3152](https://linear.app/vercel/issue/DOC-3152/add-static-indicator-diagrams).
  • Loading branch information
delbaoliveira authored Aug 8, 2024
1 parent 421de76 commit 6f1c351
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ description: Optimized pages include an indicator to let you know if it's being

Next.js displays a static indicator in the bottom corner of the screen that signals if a route will be prerendered at build time. This makes it easier to understand whether a route is static or dynamic, and for you to identify if a route [opts out of static rendering](#static-route-not-showing-the-indicator).

{/* TODO: Add screenshot - waiting for design */}
<Image
alt="App Folder Structure"
srcLight="/docs/light/static-indicator.png"
srcDark="/docs/dark/static-indicator.png"
width="1600"
height="208"
/>

You can disable the indicator by closing it, or using the config option `next.config.js`:

Expand Down

0 comments on commit 6f1c351

Please sign in to comment.