Removing the Static Indicator in NextJS DEV Environment

힘센캥거루
2025년 1월 2일
44
nextjs

I was creating a chat window and developing when that lightning-shaped icon labeled Static route was quite bothersome.

I looked up how to remove it but found nothing.

Removing the Static Indicator in NextJS DEV Environment-1

I ended up heading to the official documentation...

Turns out it exists. [Link]

Impressive!

Removing the Static Indicator in NextJS DEV Environment-2

import type { NextConfig } from 'next'
 
const nextConfig: NextConfig = {
  devIndicators: {
    appIsrStatus: false,
  },
}
 
export default nextConfig

After applying this, the button disappeared.

What a relief.

Removing the Static Indicator in NextJS DEV Environment-3

댓글을 불러오는 중...