Closed runelaenen closed 2 years ago
For the record, I was first creating an issue in the twig.js repo, but it seems that the {% parent %} tag is shopware-specific, and not from Twig.js itself?
/vendor/shopware/administration/Resources/app/administration/build/nuxt-component-library/lib/file-parser/twig-components/index.js
line 30
Slots using Extension SDK is the future. So we would not invest time to change that 😅
PHP Version
8.0
Shopware Version
6.4.7.0
Expected behaviour
Actual behaviour
How to reproduce
In PHP twig, we have the {{ parent() }} notation which will call the block of the parent page you're extending. On the twig.js, it does not work the same. It works great on level 1, but not any deeper than that. {% parent %} always calls the extended block of the first level.
a.html.twig
b.html.twig