Unable to render components in Laravel 7.x
Opened this issue · 1 comments
juliomotol commented
When trying to render the components in Livewire, I throws:
syntax error, unexpected 'endif' (T_ENDIF), expecting end of file (View: /home/user/laravel/vendor/asantibanez/laravel-blade-sortable/resources/views/components/sortable-item.blade.php)
Livewire: 2.3.17
Laravel: 7.30.4
After further inspection, when I remove the <x-dynamic-component/>
in the component's blade views, it was able to render properly.
<x-dynamic-component/>
wasn't introduced until Laravel 8.x.
Maybe considering removing illuminate/support ^7.x
in the composer.json
InsaneBobby commented
Same problem. Is it possible to publish blade template for remove <x-dynamic-component/>
?
Thanks