Next.js Discord

Discord Forum

Help me,thanks

Answered
Cape lion posted this in #help-forum
Open in Discord
Cape lionOP
Hi, I'm trying to set up my first Next.js project.

I installed Node.js and created a project using create-next-app, but I'm not sure how to structure pages and components properly.

Could someone share a simple beginner workflow or best practice?

Thanks!
Answered by B33fb0n3
nextjs itself doesnt have any opinion about your file structure. However, there are a few good approaches, that many people use.

A good overview about good file strucutre is here: https://nextjs.org/docs/app/getting-started/project-structure
View full answer

3 Replies