shadcn/ui DropdownMenu component not working with Astro
I followed exactly the instructions from this page to use shadcn/ui with Astro, even using their template from scratch, when I add the Dropdown Menu component and use it (again, following exactly the example), I always get the following error:
DropdownMenuTrigger must be used within DropdownMenu
DropdownMenuTrigger must be used within DropdownMenu
Any idea what could be wrong given the fact that I tried on a totally empty project following the instructions?
It's useless for me to share you the code, it's exactly as the link above.