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.

About This Episode

Imagine that you need to iterate over a list of items and render the contents of an SVG icon for each. With PHP, this is a cinch. We only need to append the .blade.php extension to each file. Then, we can dynamically @include the necessary SVG file. However, when inside a Vue component, things get a bit more tricky. I recently hit a roadblock when working on this very issue. In this episode, we'll review how to solve this problem with webpack and Laravel Mix. A special hat tip goes out to Caleb Porzio, who documented the solution we review in this episode.

Published on Jul 9th, 2019.

Discuss It

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