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

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. 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
Laracon Online - August 26th 2020
Back to Series Button