在Magento 2中安装后,CSS无法正常工作 [英] Css not working after installation in Magento 2
本文介绍了在Magento 2中安装后,CSS无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装了Magento 2. 一切都成功完成,但是css没有加载. 我尝试了这些命令
I have Installed Magento 2. Everything completed successfully but css is not loading. I tried these commands
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:static-content:deploy
请帮助我
推荐答案
您应提供一些权限
运行此命令
sudo find . -type d -exec chmod -R 777 {} \;
&& sudo find . -type f -exec chmod -R 777 {} \;
&& sudo chmod u+x bin/magento
这篇关于在Magento 2中安装后,CSS无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文