-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
templates: adds landing page to blank template #10769
base: main
Are you sure you want to change the base?
Conversation
Could this have been a separate template? For example, Many of us use Payload as a back-end-only solution in standalone projects, querying data via the REST API into other front-end frameworks (not always Next.js). The blank template is currently the only one without a website. |
Hey @sondreorland - thanks for the feedback! We’ve added this front-end as a convenience for scenarios where someone decides to deploy this template on our If your plan is to use a different front-end framework or use Payload as a back-end-only solution, you can simply remove the |
The new changes you added makes more sense now, awesome!🔥 |
What
This update enhances the
Blank
template by adding a simple front-end to ensure a better out-of-the-box experience.Why
When deploying the template to platforms like
Payload Cloud
,Vercel
, or similar services, users would previously encounter a404
ornot-found
page on the front-end/
route unless explicitly handled.With this update, the template now includes a minimal front-end that renders a basic page at route
/
.Notes
The added front-end is entirely optional.
If users prefer to use the
Blank
template as a starting point for a back-end-only solution or plan to integrate with a different front-end framework, they can simply delete the(frontend)
folder and proceed as before.Logged out
:Logged in
: