Skip to content

src/ folder is alternating between Yes/No #74046

Answered by icyJoseph
rwieruch asked this question in App Router
Discussion options

You must be logged in to vote

As an alternative to having the special Next.js app or pages directories in the root of your project, Next.js also supports the common pattern of placing application code under the src directory.

Guess it is because src directory is considered an alternative? And to add to that, I think the creact-next-app CLI saves your preferences, doesn't it? If you use src directory once, the next time around it should be selected as you preference. IIRC.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rwieruch
Comment options

Answer selected by rwieruch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants