Paito01
Paito01
TTCTheo's Typesafe Cult
Created by Edgar24 on 6/29/2024 in #questions
Change page
Hey @Edgar24 Routing in Nextjs works through folder names and file names (like page.tsx or layout.tsx). To define the route /page2 Your file structure should be app/page2/page.tsx Here’s more info in the nextjs docs 🙂 https://nextjs.org/docs/app/building-your-application/routing/defining-routes
3 replies