在Laravel4.2中,我使用public个文件夹来存储我所有的CSS、JS、图像和上传.目前,Laravel 5.0安装中新增了resources文件夹和assets文件夹:
/public
/resources/assets
This is confusing to me, especially because resources also holds views in it.
通过Laravel的升级指南(4.2至5.0):
Copy your application's public assets from your 4.2 application's public directory to your new application's public directory.
此外:
You may move your Sass, Less, or CoffeeScript to any location you wish. The resources/assets directory could be a good default location.
Question: What is the actual difference between public and resources folders in Laravel 5.0 folder structure?