Monday 30 May 2016

CSS and JS are not loading in magento 2

Open the app/etc/di.xml

find      "Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink"

replace "Magento\Framework\App\View\Asset\MaterializationStrategy\Copy"

Proably you will find at line no 583.
Note: Symlink will be replaced with Copy.

When you are in developer mode this problem occurs most and in local.

No comments:

Post a Comment