How to make this example work with Laravel 8

Hi, I’m new to Algolia and I saw this advanced example for algolia and I want to use it on a Laravel 8 project.

Link to the example

What I have so far

// resources/js/components/searchStoresComponent.vue

// resources/js/app.js

Browser log

I’, still looking for help