Solving error when using livewire first time

ยท

1 min read

Recently, I tried to learn how to use livewire for laravel. Alas, when I installed livewire and run it, the component I created from quickstart did'nt work. I checked error from web console :

Screen Shot 2020-10-11 at 21.49.23.png

I looked up the error and found way to fix it from here . just run this command before serve project

php artisan vendor:publish --force --tag=livewire:assets

aaaand it worked ๐Ÿ˜ฌ