Replies: 1 comment 1 reply
-
|
For now I got it working this way : The only things that need a particular attention : |
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
Uh oh!
There was an error while loading. Please reload this page.
-
From the Static Page plugin, it's possible to register any component as a snippet and use it in Static Pages.
Would such a thing be possible to register plugin components as blocks?
The components and blocks look pretty similar to me:
I haven't yet found a way to avoid duplicating a component's logic in an equivalent block.
I've try to add my component dynamically from the block's PHP section :
and the render it from twig part :
{% component 'aComponent' %}But it doesn't be rendered, maybe I'm missing the simple way to do it.
Beta Was this translation helpful? Give feedback.
All reactions