File conventions
App Router page
A default-exported component supplies UI for a segment. A page at app/page.tsx serves the root path in the ordinary App Router tree.
Formal Syntax & Structure
nextjs syntaxnextjs
app/<segment>/page.tsxWorking Example
Example Snippetnextjs
export default function Page() { return <h1>Books</h1> }