Next.jsとApp Routerに関する私たちのガイドをご覧ください。もしくは、GitHubのnext-with-app-routerの例をご覧ください。
Next.jsとPages Routerに関するガイドをご覧ください。または、GitHubのnextjs-with-pages-routerの例をご覧ください。
ぜひ GitHub の examples フォルダ をご覧ください、またはお問い合わせください!