Hello team,
My question is that is it a working way to install Next.js as the frontend and Payload as backend in the same idrectory, along-side one another? Or should I just keep them in separate folders, but inside one, main folder?
How do you guys do it normally, the way it works nice and dandy?
Check their github, they have a nextjs project combined with payload template there 🙂
This matters on the project really. We prefer to keep the frontend and backend in separate repos, adn therefore allows easier separate deployments. However, as mentioned above, we do have an example with them combined here:
https://github.com/payloadcms/nextjs-custom-serverHi @denolfe , I have a payload cms project. How can i add NextJS configuration by myself in that existing payload project?
Kindly guide me.
Trying to model your project after the above repo is your best bet.