Closed maelfosso closed 5 months ago
Hey @maelfosso,
Even though we do recommend Flowbite React if you want to get the interactive UI components to work, since I think that the CSS and visually everything has rendered correctly, you need to use the initFlowbite()
function whenever the component has mounted:
https://flowbite.com/docs/getting-started/javascript/#init-functions
Cheers, Zoltan
Hello. I am trying to setup Flowbite on a react project without using flowbite-react but it's not working, the dropdown is not displayed I followed these step
flowbite (yarn add flowbite)
tailwind.config.js
like thispublic/index.html
by adding before</body>
this line ,<script src="../node_modules/flowbite/dist/flowbite.min.js"></script>
. I also tried with the CDN<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.1/flowbite.min.js"></script>
But the dropdown copied from the document it's not working event the accordion.
How to fix that, please? I DON'T WANT TO USE
flowbite-react
package.