Laravel 5.7 Resources Directory Changes

Taylor Otwell announced that in Laravel 5.7 the resources directory will be flattened instead of having an assets folder:

Taylor Otwell 👨‍🚀@taylorotwell

Flattened the resources/assets directory into resources for Laravel 5.7. 👍

Laravel 5.6’s resources directory looks like this:

And the upcoming resources directory will look like the following in Laravel 5.7:

You could even make a move now in your Laravel 5.6 assets ahead of this change. First, you need to update your Laravel Mix configuration:

Then you can move the directories and clean up with the following:

I like the change to flatten things, and I feel like it cleans up the editor sidebar and has less mental overhead for navigating.