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 Jul 9th, 2019

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.

Discuss It

Episodes

    1. Coupon Generation With TDD

      Free Episode 21:46
    2. Learn Vuex With Me: Part 1

      Free Episode 21:03
Front-Line PHP book
Back to Series Button