Issue when running deploy static content command - Magento 2
-
15-04-2021 - |
문제
When running the php bin/magento setup:static-content:deploy
command I am having an issue with the frontend of the site where it looks like it is loading the Magento/luma theme and ignoring all of my theme files.
Also, I have tried the --exclude-theme
on the command to ignore the Magento/luma theme but no luck.
Here is how the website is looking when I run the command:
해결책
Another important thing is check your current theme from database in themes table. Your theme type should be physical.
다른 팁
When you execute this command you must add the languages of your store and -f, for example my store uses Spanish from Spain so:
php bin/magento setup:static-content:deploy es_ES en_US -f
php bin/magento cache:flush
I hope it helps
제휴하지 않습니다 magento.stackexchange