Although I'm new to Next.js, from the Next.js 13+ while scaffolding a new project, you'll have to decide between App Router vs Pages Router. With App Router you'll be given React.js server & client component - and this affects how you configure the routes for you App. While Pages Router leaves you with the old way of doing things in Next.js. For an in-depth explanation of this watch this video. Thanks.