Example for using with Remix? #47
-
Has anyone tried using flowbite with remix? I'd love to see an example getting the custom js file to load. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @edwin177, I've moved this to the discussions area. We generally have issues running the Flowbite JS on libraries like React or Vue since they use a virtual DOM. We're trying to find a workaround to make them compatible before we launch an official React & Vue library for Flowbite. The way Flowbite JS works is that there are event listeners created for the data attributes. Regarding your question, by the way, is that all of the non-interactive elements (like dropdown, modal) should work with Remix as it only requires Tailwind CSS. |
Beta Was this translation helpful? Give feedback.
Hey @edwin177,
I've moved this to the discussions area.
We generally have issues running the Flowbite JS on libraries like React or Vue since they use a virtual DOM. We're trying to find a workaround to make them compatible before we launch an official React & Vue library for Flowbite.
The way Flowbite JS works is that there are event listeners created for the data attributes.
Regarding your question, by the way, is that all of the non-interactive elements (like dropdown, modal) should work with Remix as it only requires Tailwind CSS.