I am rather new to Vuejs which I use with tailwind. There is some markup I have trouble understanding such as
<Menu as="<div>"
I guess the tag may be considered as a tag but if so, why to use this ? I cannot find an explanation anywhere. Thank you for help
CodePudding user response:
It should be as="div", according to the component api in headlessUI framework :
The element or component the
Menushould render as.
That means the root rendered element taken by Menu
