Usecase: image, some custom elements, cf paths and a CTA/button.
I created two components one by super typing image v2, another by super typing with teaser v2.
Now I am trying to include button component inside above two components, so author can reuse existing button component
<div data-sly-resource="${'button' @ resourceType='mysite/components/content/button'}"></div>
or
<sly data-sly-resource="${'button' @ resourceType='mysite/components/content/button'}"></sly>
I am not able to see these components inside extended teaser , image components.
I added cq:isContainer {Boolean}true for above components. What am I missing? What are the other ways anyone achieved this use case.
Any ideas?
Thanks for the help.
-Sri