Next.js uses file-system routing, so an application's routes are determined by its file structure.
App Router supports features such as Server Components, Server Actions, and Suspense.
This post covers its basic usage.
As mentioned earlier, Next.js uses file-system routing, so routes are determined by the file and folder structure.
Create a subdirectory under app/ to define a route.
app/example/page.tsx
export default function ExamplePage() { return <p>Example Page</p>}