I noticed that the issue only arises on the local server, but everything imports correctly on the remote server. What could be the reason for this?
In that case, why if I:
- Using drupal-radix-cli add
, add the component "page," then change {% include 'radix:page-content' %}
to {% include 'mytheme:page-content' %}
in "mytheme/components/page/page.twig";
- Add the component "page-content." In "mytheme/components/page-content/page-content.scss," add .page__header {background-color: red;}
;
- In "mytheme/templates/page/page.html.twig," change {% include 'radix:page' %}
to {% include 'mytheme:page' %}
;
...then if I use npm run watch
and drush cr
, the styles won't be applied?
Dmitry Kovalevsky → created an issue.