Capítulo 374 de 456
Next.js supports placing app or pages inside a src/ folder to separate application code from root-level config files.
src/app or src/pages: alternative location for router folders; ignored entirely if app/pages also exist at the project root.public/, package.json, next.config.js, tsconfig.json, and .env.* files must stay at the project root even when using src/.None (structural convention, no code shown in source).
None.
app/pages and src/app/src/pages: the src version is silently ignored.tailwind.config.js content: must add the /src prefix when moving to a src/ layout.tsconfig.json paths: import aliases like @/* must be updated to point into src/.src/: when using src, proxy.ts must also live inside src/.src/ is purely organizational; move /components, /lib, and Proxy along with it.content paths and TypeScript paths aliases after migrating.public/ and root config/env files never move into src/.src/ usage.src/ if that layout is adopted.