I have upgraded to livewire 3 from livewire 2. having a lot of livewire component. Want to use `liveiwre/volt`. But getting error in regular livewire page while adding `App\Providers\VoltServiceProvider::class` in `config/app.php` `providers` array. Normal error like `Undefined variable`. Despite being variable defined. for Example: In a blade file I assigned a variable `$hello = 'world'`. In very next line I am printing `echo $hello`. Output `undefined variable $hello`. just after adding `App\Providers\VoltServiceProvider::class` class. If I comment/delete this provider from provider array everything working as expected
Can you provide a GitHub repository to the problem? Afterwards I can look deeper into the problem. Thank you for your time. 😊🫶 Did you surround the echo statement with a @volt and @endvolt directive?
@@laravel-switzerland-meetup just simple echo $variablename. echo just an example. no variable work. It's our company repo. project belongs to a fintech company. It would be really good for you to understand the code if I could give repo access to you. Thanks for your helpful intention
Nice bro..
Glad you enjoyed it. ☺️
Hey Ruslan ! nice !!
Thank you Jan ☺
love your content good luck dear
Thank you 😊
I have upgraded to livewire 3 from livewire 2. having a lot of livewire component.
Want to use `liveiwre/volt`.
But getting error in regular livewire page while adding `App\Providers\VoltServiceProvider::class` in `config/app.php` `providers` array.
Normal error like `Undefined variable`. Despite being variable defined.
for Example:
In a blade file I assigned a variable `$hello = 'world'`.
In very next line I am printing `echo $hello`.
Output `undefined variable $hello`. just after adding `App\Providers\VoltServiceProvider::class` class.
If I comment/delete this provider from provider array everything working as expected
Can you provide a GitHub repository to the problem? Afterwards I can look deeper into the problem. Thank you for your time. 😊🫶
Did you surround the echo statement with a @volt and @endvolt directive?
@@laravel-switzerland-meetup just simple echo $variablename. echo just an example. no variable work. It's our company repo. project belongs to a fintech company. It would be really good for you to understand the code if I could give repo access to you. Thanks for your helpful intention
nice talk
Thank you, Adrian 😊