[Solution] Magento2 CSS & JS File not loading

Run the following
cd /var/www/html/magento2 
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
chown -R www-data:www-data /var/www/html/magento2 
 $ chmod -R 777 /var/www/html/magento2 
To enable admin
a2enmod rewrite

Popular posts from this blog

What are EAR, JAR and WAR files in J2EE?

ATG Issue - ConcurrentUpdateException - on BCC Deployment

How the competition helps to reduce the price of TEA?