Back to the Learning

Beep Beep. Subscription Required.

Laracasts is packed full with over 1,500 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on Dec 21st, 2016

For this new version of Laravel Mix (the evolution of Laravel Elixir) that I'm working on, I need to create a single PHP function that can dynamically calculate the correct path to an asset, such as a script or stylesheet. This should work, regardless of whether hot reloading or file versioning have been enabled/requested. Let's knock it out together, using TDD.

Episodes

    1. EPISODE 2 21:10
    2. EPISODE 5 20:18
    3. EPISODE 12 13:21
    4. EPISODE 13 21:46 Free
    5. EPISODE 18 9:38
    6. EPISODE 21 21:03 Free
    7. EPISODE 29 19:29 Free
    8. EPISODE 35 26:39
Back to Series Button