I am new to Magento. I have installed Magento on localhost and I am using XAMPP (Windows) server. The installation was successful.
And when I opened the home page, it was so blank with no images on it
When I opened the console I got the following errors
How do I fix this?
Install composer. You can use Composer to install Magento 2. It is a tool for dependent management in PHP which allows you to declare the dependent libraries your project needs and install them for you. Composer enables you to manage Magento 2, extensions, and their dependencies
It is a common problem on windows servers (mostly local xampp servers) because these servers dont have symlinks.
Do this to fix it:
after that I installed it again and it worked
Check permissions of the /pub/media and pub/static folders
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.