docs: add migration-guide note public dir changes (#9498)

The location of public directory has changed, this addition highlights
this change and how to resolve it
This commit is contained in:
Jeffrey Arts
2024-11-25 15:17:34 +01:00
committed by GitHub
parent 7eb388d403
commit 4b4cfbeca7

View File

@@ -409,6 +409,7 @@ For more details, see the [Documentation](https://payloadcms.com/docs/getting-st
}
})
```
1. The `./src/public` directory is now located directly at root level `./public` [see nextJS docs for details](https://nextjs.org/docs/pages/building-your-application/optimizing/static-assets)
## Custom Components