How to use components and dynamic zones in Strapi v4

preview_player
Показать описание
Learn how to build pages on the fly without coding using components. Strapi makes it possible thanks to its components and dynamic zones. In this video, we're showing how to add a custom call to action block to a restaurant page.

00:00 Intro to Components and Dynamic Zones
01:25 Adding a new dynamic zone with components
02:47 Adding a component to a Restaurant page
05:10 Thanks for watching!

Рекомендации по теме
Комментарии
Автор

Why you're showing a dynamic content with two level deep, nested components, when this feature is not allowed? That's misleading... And imho, the biggest flow of your cms system.

SaverioWodka
Автор

When I try to save a component after creating it, it gives an error

germain-dela-kobby
Автор

Is there an option to add Dynamic zone inside Repeatable components?

thi_thi_ko
Автор

Hi, sorry for spamming you, but can't find proper content for my question. I have the following scenario:
Collection Type called Articles. Each Article has dynamic zone whit repeatable Components (RichText, Accordion and etc.) Each of the components has description field.

In the CMS Articles findMany how the filtering should look like to access the Dynamic Zone components? I tried different combinations like:
{
content: {
["$or"]: [
{
description: {
"$containsi": searchTerm
}
},
{
components: {
[operator]: [
{
description: {
"$containsi": searchTerm
}
}
]
}
},

PitchBlackAlex
Автор

hi im a mexican developer person i liked to create a button from where do you get a button, help me, please !!!!

Mcandrea
Автор

я думаю вы понимаете что я пишу) с компонентами, такое чувство что перескочили через несколько тем. только что мы списки данных создавали, а тут вдруг компоненты, и я так понимаю, намек в том что strapi frontend еще рисует, но в результате появлется еще больше вопросов)) ну и в итоге совершенно не понятно как эти компоненты использовать, ну в реальности. чтож будем капать дальше.

EgorDemeshko
join shbcf.ru