Replies: 2 comments 2 replies
-
You and James already talked about this on Discord, following up for others to see. This can now be demonstrated from the Payload repo, we have a new way to run what used to be the demo. Now when you run Cheers! |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have the same issue with existing code base of demo 3.0 after updating from In
Can you suggest how this can be fixed please? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Als already briefly discussed in Discord - is there a way to have blocks that uses blocks?
It looks like, they can't occur in another block. I searched my source and there is no second usage of that block.
I also have seen a collection of blocks example (https://github.com/payloadcms/payload/blob/master/demo/collections/Blocks.ts) but I don't wan't to reuse them (if I understand the purpose of the collection correctly)
// Edit:
My use-case is that I have some base components (e.g. Section) and each Section should have some sub blocks (Call-To-Action buttons, image gallery, "show last of X from collection y",
TextWithImage
.) I want a sweat spot between dynamic and predefined components (blocks) so that the marketing team could quickly add beautiful landing pages.If there is another good approach, I'm very interested :)
Beta Was this translation helpful? Give feedback.
All reactions