flowbite-qwik icon indicating copy to clipboard operation
flowbite-qwik copied to clipboard

following the quickstart but no buttons or styles appearing

Open oppianmatt opened this issue 6 months ago • 1 comments

  • followed the setup tailwind at https://tailwindcss.com/docs/installation/using-vite
  • even framework specific at https://tailwindcss.com/docs/installation/framework-guides/qwik
  • then followed rest of https://flowbite-qwik.com/docs/getting-started/quickstart

Utility styles are showing like shadows, but buttons are not showing.

I don't have a tailwind.config.ts as none of the guide mentioned or created one. I suspect I need one with a plugins part for flowbite-qwik

oppianmatt avatar May 18 '25 15:05 oppianmatt

I worked it out in the end. Didn't need a config but needed to modify my global.css

I have a monorepo with my frontend in a workspace, so I needed to change part of the CSS to be:

@source "../../node_modules/flowbite-qwik";

to go 2 directories up into the monorepo root

oppianmatt avatar May 18 '25 16:05 oppianmatt