In this video, I walk you through the routing basics in Next.js. We’ll explore how URLs are structured, starting with the protocol, domain, and path, and move on to controlling paths within your Next.js application. I demonstrate how to create static routes by setting up folders and .tsx or .js files inside the app directory. By the end, you’ll learn how to serve different web pages and how to handle basic routing in Next.js. Stay tuned for future videos where we’ll dive into dynamic routes, layouts, and templates.
00:00 Anatomy of URL
01:05 Add page to Next.js app
02:40 Nested Routes in Next.js