How do I set up pages?
Answered
Kawakawa posted this in #help-forum
KawakawaOP
Screenshot attached. I'm trying to setup my pages directory to use the routing but I am consistently getting a 404 not found. What am I doing wrong? Side note: index.tsx used to be called page.tsx, upon renaming it my main page no longer works as well. Documentation simply says to have a pages directory where index.tsx will point to the root parent directory.
Answered by Kawakawa
Ah, there are two routing methods available, App Routing and Pages.
2 Replies
KawakawaOP
Ah, there are two routing methods available, App Routing and Pages.
Answer
Scaly-naped Pigeon
This is App routing
https://nextjs.org/docs/app/building-your-application/routing
https://nextjs.org/docs/app/building-your-application/routing