Next JS automatically routes every file in the pages/ directory to a name associated with the file name. For single pages, you can just create a single file that will export a React component. There is no right or wrong way to structure a Next JS project, and this is highly opinionated.

3m read timeFrom blog.anurag.tech
Post cover image
2 Comments

Sort: