After installing Magento 2.3.1 with sample data on my localhost, When I am trying to open the home page it shows blank. My console contains an error as shown in the image. Please help.. Thanks!
1 Answer
please run below commands:
rm -rf generated/* var/cache/* pub/static/*
php bin/magento s:d:c
php bin/magento s:up && php bin/magento s:s:d -f
php bin/magrnto c:f
and check
-
Thnx It worked! I run these commands and also changed this thing for admin panel: URL: magento.stackexchange.com/questions/252069/…– JigarCommented Jun 3, 2019 at 7:19