#Preact with Headless UI

2 messages · Page 1 of 1 (latest)

prime marsh
#

Have anyone been able to set up Preact with Hedless UI? I'm following the Astro setup guide for Preact, enabling compat with preact({ compat: true }), and adding the overrides in package.json. Preact is working fine, but when I try to use the Popover package from Headless UI, it blows up with:

[plugin:@astrojs/preact] [object Object] is not a valid HTML tag name in <[object Object] class="relative">

Maybe HeadlessUI just isn't compatible with the Preact/Astro setup? Any thoughts?