Skip to content

[Magento 2] Developer mode but static page not linked with modules/theme

when your magento on developer mode, but you still have to deploy static content each time you made some changes on static files such as js & css, this how I fixed

open app/etc/di.xml

find

<item name=”view_preprocessed” xsi:type=”object”>Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>

change to

<item name=”view_preprocessed” xsi:type=”object”>Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item>

 

Comments are closed.