mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Enables AI agents to programmatically access the runtime metadata of the current page. At the moment, we only include the segment trie details, but this endpoint will be open to extension. Like `get_errors`, we support collecting information from multiple tabs.
6 lines
150 B
TypeScript
6 lines
150 B
TypeScript
import type { AppProps } from 'next/app'
|
|
|
|
export default function MyApp({ Component, pageProps }: AppProps) {
|
|
return <Component {...pageProps} />
|
|
}
|