wire-elements / wire-extender

Wire Extender allows you to embed any Livewire component on any website or even within a static HTML file.
https://wire-elements.dev/blog/embed-livewire-components-using-wire-extender
MIT License
208 stars 6 forks source link

Add attribute `component:navigate` #15

Open MasterZydra opened 1 month ago

MasterZydra commented 1 month ago

Usage

<a href="" component:navigate data-component="MyComponent" data-params='{someParam: 42}'>Page 2</a>

It replaces the attributes data-component and data-params in the closest livewire tag.