#Next Payload Starter Template/Boilerplate

22 messages · Page 1 of 1 (latest)

livid wasp
#

Hi. I'm using the Payload CMS theme for the backend, which is great as it's got me up and running quickly. Is there a start repo for the front-end that does the fancy logic like rendering pages based on slug value, much like the Next customer server template? I've tried using the mono-repo and the errors got the better of me, and I think I may run into deployment issues too, so I'll prefer to use separate repos.

This template is blank? https://github.com/payloadcms/template-website-nextjs

GitHub

The Next.js website for the official Payload website template - GitHub - payloadcms/template-website-nextjs: The Next.js website for the official Payload website template

livid wasp
livid wasp
#

Is there a Payload installation command I can use to get the Payload types and other setup files?

livid wasp
#

I think I can run 'npx create-payload-app' to setup a front-end, and add a blog, for example 👍

livid wasp
#

Nope, that creates the CMS back-end. Any ideas for the front-end setup?

sinful dome
livid wasp
#

Thanks. I don't want to have to delete much code, like GraphQL, plugins, components etc. I think starting up a Next project and copy pasting the relevant files is probably the simplest approach right now.

#

Next Payload Starter Template/Boilerplate

topaz elbow
#

Hi @livid wasp did you manage to find anything as I was looking for the closest next frontend code to utilize the payload backend blog starter .... Is that what you are trying to find?

livid wasp
#

@topaz elbow I didn't, sorry.

#

I recommend firing up a fresh Next13 project and copy/pasting the relevant files from the Payload repo(s)?

rustic mica
proven current
#

@rustic mica you guys are changing the main website’s template?

rustic mica
topaz elbow
topaz elbow
rustic mica
#

The blog that is generated from create-payload-app is different than the website template, which is also designed for use as a blog. Long term we plan on consolidating these

topaz elbow
#

Okay thanks

proven current
#

@rustic mica is the backend template production ready? can I use it for a project?

rustic mica
#

Yea! Go ahead and start using it freely, including in production. Hoping to have a starter front end for this in the coming weeks.

proven current
#

thanks, I see some work on dev branch for the frontend already

#

can I use that too 😛