If you visit any lesson at Laracasts that includes a transcript, you'll notice searching for any string will highlight every occurrence of the word. In this Larabit, I'll show you how to add something similar in your own projects. It's really very simple.
For this example, we'll create a Vue component that renders the lyrics to a song. We'll then add a search box to highlight all matching queries.
Instant SearchArray Map
