Good day.
We have base.html.twig with {% block stylesheets %}, when the template part is loaded, we need to add additional css to {% block stylesheets %}. So we have in the base.html.twig
—yaml
{% block stylesheets %}
{% do assets.addCss(‘theme://css/materialize.min.css’,100) %}
{% endblock %}
{{ assets.css() }}
and in the page.html.twig
---yaml
{% embed 'partials/base.html.twig' %}
{% block stylesheets %}
{% do assets.addCss('theme://css/slick.css',64,top) %}
{% endblock %}
{% endembed %}
The result is that the css in the base is fully replaced by the css from page.html.twig. Actually we need to add, not to replace. What am i doing wrong?