【发布时间】:2016-03-01 16:05:26
【问题描述】:
当我要更改模板中的某些内容时,我需要刷新静态缓存(pub/static),因为我没有看到前端有任何更改,但之后这个文件夹有一些空文件夹,并且在前端我有一些错误ReferenceError: require is not defined 我需要使用这个命令 c:\xampp\php\php.exe -f d:\projects\localsites\magento2.local\magento\bin\magento -- setup:static-content:deploy 来生成静态内容。也许我做错了什么?
【问题讨论】:
标签: magento magento2 magento-2.0