Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Is there a clear way to add custom views to admin?

default discord avatar
kaspartr2 years ago
2

I am following this tutorial on creating a custom view, but it leads to me github where the code is ahead of the docs. Also following the code it quickly turns into a spaghetti trail of imports going across src, admin, components, custom config files, etc.



This tutorial:

https://payloadcms.com/docs/admin/components#base-component-overrides

I don't necessarily want to hack the framework but understand if there is a clear way to add a custom React view using the configs

components.views

attribute.



As a side question, is it possible to group collections in the admin view? Right now its single row of 20+ collections and navigation has become quite cumbersome for users.



Thanks.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.