'How to setup Flowbite with Nuxt? [closed]
Here is a sandbox with Nuxt and Flowbite.
Imported according to instructions from Flowbite
The problem is that the styles of the flowbite components are displayed correctly, but the dynamic components do not work.
What could be the problem?
Perhaps this is due to the fact that the nuxt application is selected to render as static, because with SSR rendering dynamic components work, but this is not suitable for me, I need an application without SSR.
Solution 1:[1]
Update
Achieved to make it work with Nuxt3 thanks to this comment, here's a working Github repo.
Old answer
I've spent more time working on this subject recently. Check my answer here for more details.
TLDR: Nuxt2 and 3 are not supported regarding the components requiring some JS (modals, dropdown etc...).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |