Home > Back-end >  Why @this cannot work in my laravel-livewire(mapbox)?
Why @this cannot work in my laravel-livewire(mapbox)?

Time:03-31

I try to get the long and lat data from the class, but this "@this" is not working enter image description here

This is the class: enter image description here

This is the error: enter image description here

I'm new in livewire and Json. Your help is a gold for me.

CodePudding user response:

First: You can apply @this on the livewire blade file only Your Error Path: vpet\resouces\views\customer\location.blade.php (This will definitely give an error)

According to your class right path is: vpet\resouces\views\livewire\map-location.blade.php

  • Related