I am working on porting a project over to vue. I’m using muuri for a layout manager. However i need to use
grid.add(itemElem, {
layout: false,
active: false
});
itemElem
was an html element i created with document.createElement
but that is a component now. How do i pass a component to the function?
I tried
grid.add(<MyComponent />, {
layout: false,
active: false
});
However that doesn’t work
I am using vue3 with options API