HeadlessUI & Astro

Is it possible to use the react tailwind ui components (based on headless ui) in an astro project or i should stick with the default js + html template for the components. Really want to try out astro as an SSG but most of the code we currently have is in React.
3 Replies
Neto
Neto2y ago
its possible just remember to enable js at the components
nexxel
nexxel2y ago
the headless ui components need react so you need to use astro and react im using a headlessui component on my personal website too and it works fine
r.omaarr
r.omaarrOP2y ago
ok thanks so much!
Want results from more Discord servers?
Add your server