您的位置:首页 > 其它

14.Adding Frontend Files to your Module

2016-01-28 15:48 218 查看
1.在自己的模块中添加









2.URL 分解

http://magento2ee.local/pub/static/frontend/Magento/luma/en_US/Test_First/hello.js
















3.pub/static 下的文件第一次访问时,自动生成



软连接会造成安全问题,所有有 production 模式。

如果是 production 模式,文件就不是 符号链接文件了。删了就没有了。









http://alanstorm.com/magento_2_adding_frontend_files_to_your_module
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: