dse323222 2017-01-18 10:09
浏览 209

magento2设置:没有CSS

I have a weird error when trying to develop a magento2 project locally: the backend and frontend work fine, but when I navigate to System -> Web Setup Wizard the page is suddenly missing all styles. I tried the

php bin/magento setup:static-content:deploy 

that didn't change anything. It still looks like this (without any console errors):

enter image description here

Did anyone encounter this problem?

  • 写回答

2条回答 默认 最新

  • du9757 2017-01-18 10:14
    关注

    Remove the total var folder and also delete files from the folder pub/static. Once this is done, run php bin/magento setup:upgrade and then run php bin/magento setup:static-content:deploy

    评论

报告相同问题?