Understand.io logo
Laravel Error Tracking (AD)

Understand.io is used by hundreds of Laravel developers to find and fix errors.

Sign up for a free 14-day trial now.

Back to the Learning

Beep Beep. Subscription Required.

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

About This Episode

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.

Published on Dec 21st, 2016.

Episodes

    1. Elixir Refactoring

      EPISODE 2 21:10
    2. Elixir Webpack Plugins

      EPISODE 5 20:18
    3. An Ad Component

      EPISODE 12 13:21
    4. Coupon Generation With TDD

      EPISODE 13 21:46 Free
    5. Please Come Back

      EPISODE 18 9:38
    6. Learn Vuex With Me: Part 1

      EPISODE 21 21:03 Free
    7. Custom 404 Pages and the Borg

      EPISODE 29 19:29 Free
    8. Commentable Workshop

      EPISODE 35 26:39
Understand.io logo
Laravel Error Tracking (AD)

Understand.io is used by hundreds of Laravel developers to find and fix errors.

Sign up for a free 14-day trial now.

Back to Series Button