安装 magento 2 CE 后,我有
ReferenceError: require is not defined
在控制台中。我找到了这个解决方案
c:\xampp\php\php.exe -f d:\projects\localsites\magento2.local\magento\bin\magento -- setup:static-content:deploy
这对我有帮助,但是每次我刷新静态缓存时,这个问题都会再次发生。我怎样才能“永远”解决这个问题。
安装 magento 2 CE 后,我有
ReferenceError: require is not defined
在控制台中。我找到了这个解决方案
c:\xampp\php\php.exe -f d:\projects\localsites\magento2.local\magento\bin\magento -- setup:static-content:deploy
这对我有帮助,但是每次我刷新静态缓存时,这个问题都会再次发生。我怎样才能“永远”解决这个问题。