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

default discord avatar
kaspartr
10 months 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.

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.