themesberg / flowbite-svelte

Official Svelte components built for Flowbite and Tailwind CSS
https://flowbite-svelte.com
MIT License
2.22k stars 272 forks source link

How do I integrate links with inertia Link component #1440

Open kjjd84 opened 1 month ago

kjjd84 commented 1 month ago

Inertia uses its own Link component: https://inertiajs.com/links

What is the best way to integrate all flowbite-svelte links with this Link component from inertia?

shinokada commented 1 month ago

You can use action prop.

kjjd84 commented 1 month ago

You can use action prop.

Does this work for all components like navbar links etc too?

shinokada commented 1 month ago

At the moment only Link and SidebarItem component. I can add it to NavLi component if you wish.