My dropdown doesn't work #172
Unanswered
monirhabderabby
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
have you solve the problem, im getting the same error |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Dear!
I am facing an issue in the dropdown. I install the and setup my tailwind properly and also react flowbite. I am trying to use dropdown components in my react project. but somehow my dropdown didn't work.
I did also try to use "navbar with dropdown" but I got the same problem that is dropdown isn't work in my project.
My install and step process is below:
my config file are:
/** @type {import('tailwindcss').Config} /
module.exports = {
content: [
"./src/**/.{js,jsx,ts,tsx}",
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}'
],
theme: {
extend: {},
},
plugins: [
require('flowbite/plugin')
],
}
I added this to index.css file are:
@tailwind base;
@tailwind components;
@tailwind utilities;
I added this to index.js file:
import 'flowbite';
I added this to index.html file before the ending body tag:
<script src="../path/to/flowbite/dist/flowbite.js"></script>Is there any missing from my setup?
How can I solve my dropdown issue?
Thanks
Monir Hossain
Beta Was this translation helpful? Give feedback.
All reactions