I am facing an issue with Javascript preprocess/aggregation when source code is updated.
I am testing my theme on local development with preprocess off, but when deploying new source code to platforms where preprocess is activated, aggregated files are not updated unless I perform a `drush cr`. I tried `drush cc css-js`, `drush css render` and `drush cc views`, no luck.
I have a twig file that I want to include within node with {% include '@mt/blocks/static-row.html.twig' %} but it would not render and show the code only.
I'm making a return to Drupal after nearly a decade away, and a lot has changed from a theming perspective. I'm running into an issue where a CSS file, views.module.css, from the base theme is propagating into my theme despite setting "system/base:" to false in the info.yml file.
I posted this in the theme forum to which it applies, but I also suspect it's a larger Drupal 8 issue and not necessarily related specifically to any certain theme.
I've installed a sub-theme, according to the step-by-step instructions in the Drupal 8 documentation. I've checked multiple times that everything, including space-indentation and folder structure, is all correct, but the sub-theme is not inheriting the CSS from the parent theme.
I learnt that by going to /admin/config/development/configuration/single/export you can export YML file along with suggested file name. If you place this YML file in another install's [CUSTOM_THEME]/config/install folder with the suggested name, your block is placed in the desired region.
For some reason though all the blocks created by Views do not appear in /admin/config/development/configuration/single/export.
I tried to manually modify the files it generate to get the YML I needed, but it didn't work. Has anyone ever done it and is it even possible?