markmead / alpinejs-component

Reusable HTML components powered by Alpine JS reactivity 🛸
https://js.hyperui.dev/examples/utility-components
MIT License
268 stars 8 forks source link

`x-component` directive conflicts with Laravel component directive #21

Closed Cyrille37 closed 10 months ago

Cyrille37 commented 10 months ago

Hello.

Thanks for this nice & useful package :-)

But the directive x-component conflicts with Laravel Blade :-(

Do you use it? Do you have any ideas on how to get round this problem?

Perhaps a configuration option to use in window.customElements.get('x-component') ?

Thanks & cheers

markmead commented 10 months ago

Hi @Cyrille37, thanks for highlighting this. Got a few questions:

Cyrille37 commented 10 months ago

Thank you @markmead for your enlightening questions :-) U're right :100:

Cyrille37 commented 7 months ago

Hello @markmead I come back on the subject ;-)

I would like to have both : Blade components and Alpine components.