'How can I add flowbite to the React.Js . Followed the guide on the flowbite but components doesn't working well

Hello I used flowbite along with tailwindcss and react js But the components are not working in the react

(You can click the links to see the directory Images)

I imported the flowbite in the index.js

Created a components called Drp stands for dropdown and add a dropdown from the flowbite components section

This Drp component you can see in the image

Then this is my tailwind.config.js :

module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}", "./node_modules/flowbite/**/*.js"],
theme: {
extend: {},
 },
plugins: [
require('flowbite/plugin')
  ],
}

but this is not working ,How to fix this???



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source