[SOLVED] How to solve flowbite modal problem in vue js

Question

This Content is from Stack Overflow. Question asked by Md Mahfuzur Rahman Arif

I am working in Vue js with tailwind CSS, and Flowbite for component library support. But the modal is not working which is a component of flowbite. I have installed and configured flowbite as it is described in the documentation. Other components that I have tested are working fine.

main.js

import { createPinia } from "pinia";
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";

import "./assets/main.css";

const pinia = createPinia();
const app = createApp(App);

app.use(pinia);
app.use(router);

app.mount("#app");

Solution

I could not figure out this problem of flowbite in vue, then I used https://tailwind-elements.com/ and it’s working fine.


This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of
CC BY-SA 2.5.
CC BY-SA 3.0.
CC BY-SA 4.0.

people found this article helpful. What about you?