Layoutの拡張子はすべて、.tsx .jsx .jsとなる。初期状態はすべてServer Componentsとなるため、onClickなどのJSが必要なものは動作しない。
.tsx .jsx .js
- // `app/dashboard/page.tsx` is the UI for the `/dashboard` URL - export default function Page() { - return <h1>Hello, Dashboard Page!</h1> - }
File Conventions: page.js