[Vuejs]-How should I understand in a vuejs template <Menu as="<div"

0πŸ‘

βœ…

It should be as="div", according to the component api in headlessUI framework :

The element or component the Menu should render as.

That means the root rendered element taken by Menu

Leave a comment