13.Serving Frontend Files
2016-01-28 15:10
357 查看
有两个可能的 root 目录:
![](http://img.blog.csdn.net/20160128135725965)
rename 后请求,文件依旧存在:
![](http://img.blog.csdn.net/20160128140422927)
如果设置为 production 模式,则 not found:
![](http://img.blog.csdn.net/20160128141148263)
![](http://img.blog.csdn.net/20160128141658531)
1.How do we ensure all the files for production mode are generated?
如何确保 production 模式生成所有的文件。
2.What sort of magic is Magento doing to enable the developer mode file creation?
developer and default 模式如何自动生成文件:
![](http://img.blog.csdn.net/20160128143937805)
![](http://img.blog.csdn.net/20160128144346200)
![](http://img.blog.csdn.net/20160128144618876)
![](http://img.blog.csdn.net/20160128150330930)
![](http://img.blog.csdn.net/20160128150703409)
http://alanstorm.com/magento-2-frontend-files-serving
rename 后请求,文件依旧存在:
如果设置为 production 模式,则 not found:
1.How do we ensure all the files for production mode are generated?
如何确保 production 模式生成所有的文件。
php bin/magento setup:static-content:deploy
2.What sort of magic is Magento doing to enable the developer mode file creation?
developer and default 模式如何自动生成文件:
http://alanstorm.com/magento-2-frontend-files-serving
相关文章推荐
- 【java网络编程】之四
- 【java网络编程】之三
- 【java网络编程】之二
- 数据结构基础(3) --Permutation & 插入排序
- LeetCode 189 Rotate Array(旋转数组)
- LeetCode 189 Rotate Array(旋转数组)
- 跨域 Ajax 其他可选技术 异步
- 微信、陌陌等著名IM软件设计架构详解
- Doc15(层的显示和隐藏及超链接显示图片)
- ora 03137
- 【Boost】boost库中function的用法
- android网络编程--HttpURLConnection(结合Handler和子线程)
- poj1947 Rebuilding Roads 树形dp 背包
- HTTPURLConnection参数详解
- 【java网络编程】之一
- 数据结构基础(2) --顺序查找 & 二分查找
- hive的join操作
- MySQL判断表和字段不存在再添加
- JQuery取消和注册对象Click事件同时防止多播委托
- Android绘制图表的项目,支持绘制线状图、柱状图、饼状图-HoloGraphLibrary 源码解析,超详细