File conventions
Source directory
An optional src directory can organize application source. Project configuration and public assets remain at the project root.
Formal Syntax & Structure
nextjs syntaxnextjs
src/app/page.tsxWorking Example
Example Snippetnextjs
src/app/layout.tsxsrc/app/page.tsxpublic/covers/moss.png