Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to render components in Laravel 7.x #1

Open
juliomotol opened this issue Feb 16, 2021 · 1 comment
Open

Unable to render components in Laravel 7.x #1

juliomotol opened this issue Feb 16, 2021 · 1 comment

Comments

@juliomotol
Copy link

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
Copy link

InsaneBobby commented May 25, 2021

Same problem. Is it possible to publish blade template for remove <x-dynamic-component/> ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants