How to fix Undefined Variable Error in Laravel
The {{ $slot }} variable will contain the content we wish to inject into the component Any content not within a @slot directive will be passed to the
Undefined values undefined variable $slot The {{ $slot }} variable will contain the content we wish to inject into the component Any content not within a @slot directive will be passed to the laravel $slot The {{ $slot }} variable will contain the content we wish to inject into the component Any content not within a @slot directive will be passed to the
undefined variable $slot If i replace $slot with yield, the error goes and the blade files are rendered well But the issue is the component rendered directly
Regular
price
136.00 ₹ INR
Regular
price
Sale
price
136.00 ₹ INR
Unit price
/
per