Hide the Next.js dev-mode route indicator badge

Sets devIndicators: false in next.config.ts. Compile/runtime error
overlays are unaffected - only the floating route-info badge is hidden.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 20:45:46 +02:00
co-authored by Claude Sonnet 5
parent 6d7788e48b
commit 7daaa95ab9
+4 -1
View File
@@ -1,5 +1,8 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
const nextConfig: NextConfig = {/* config options here */}; const nextConfig: NextConfig = {
// Hides the on-screen dev-mode route indicator badge. Compile/runtime error overlays still show.
devIndicators: false,
};
export default nextConfig; export default nextConfig;