- Issue created by @d.fisher
Drupal version: 11.2
Module version: 4.0.0-beta1
When I embed a paragraph that has a template that includes a single directory component the CSS and JS do not get loaded as is usually the case with single directory components.
Use the module to embed a paragraph. Create a template for that specific paragraph and include a single directory component like this:
{% embed 'customtheme:some-component' %}
{% block component_content %}
{{ content }}
{% endblock %}
{% endembed %}
Ensure that the component has a CSS file with a big obvious style like background-color: hotpink;
and a some-component.component.yml.
Look at the front-end. The CSS does not load.
I'm not sure why the CSS and JS are not being included so unsure right now.
Investigate why this is happening.
N/A
N/A
N/A
Active
4.0
Code