1

I have installed Magento 2.1.3 after installation I go at admin but the admin link are not seeing proper I think some CSS and JS are missing ,

After I run deploy static command and re index and remove cache,

And then start admin panel but now its seeing weird

No CSS or JS file are loaded.

How do I resolve this issue?

SR_Magento
  • 5,209
  • 13
  • 62
  • 103
S.P
  • 1,534
  • 11
  • 16

3 Answers3

2

I have got same issue,

Perfect solutions reference are

CSS and Javascript files are not loading after Magento 2 installation

Sagar Dobariya
  • 2,895
  • 2
  • 24
  • 47
0

I also have the same issue when i install magento in localhost, please try

1 Delete all folders in pub/static. Don't delete .htaccess and other files.

2 cd to the magento dir and then run

3 php bin/magento setup:static-content:deploy

4 php bin/magento indexer:reindex

if you can't deploy with low memory, please try

php -dmemory_limit=6G bin/magento setup:static-content:deploy

Thanks

Harry Alive
  • 88
  • 1
  • 7
0

I have also got the same issue.

Fixed by

sudo a2enmod rewrite

and

service apache2 restart

Ref - Magento 2 CSS and JavaScript not loading from correct folder

Rathna
  • 303
  • 1
  • 6
  • 18