I’m working on an theme based on blank theme (Magento 2.2.5) on developer mode as well as production mode the theme less files are not compiling using:
rm -R pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Images are loaded ok, not css. No errors using verbose. The only way is using grunt both for development and production for my theme what can i do?
2
Answers
Solving this issue is actually simple; just run the following command
Clear the var/cache and var/view_preprocessed directories by deleting the directory in
if you have to (sudo rm -R generated/code)
If you are in production mode, delete var/view_preprocessed and var/cache, run the CLI for setup upgrade and then static-content deploy. That should work.