Trouble seeing a page on my site
Unanswered
American Sable posted this in #help-forum
American SableOP
For some reason, I can't see /socials even when i have socials.js in my app directory. did i set something up wrong?
7 Replies
American SableOP
I know this is a very basic issue but i am new and a bit confused
App router is opiniated(?). Read the docs on routing
If you want a /social page then you should be creating a social folder with page.ts inside.
Read on this for more detailed info:
https://nextjs.org/docs/app/building-your-application/routing/defining-routes
https://nextjs.org/docs/app/building-your-application/routing/defining-routes
@American Sable I know this is a very basic issue but i am new and a bit confused
Silver Marten
dont worry, we all start somewhere
within the app directory create this path:
socials/page.jsxthen the page.jsx page will be rendered when you visit localhost:3000/socials