There are two sibling components in Vue. Can you drag and drop the HTML of one component into the tag of the other?

problem description

want to drag and drop the sibling element into a parent-child element, try the slot slot, but find that the slot is fixed and the drag-and-drop dynamic generation is not successful. I"d like to ask you what you think?

Jun.23,2022

you can write a component B in component A beforehand, and control external component B to hide component B in component A when dragging is detected.


Native dom operation, a.appendChild (b)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40dbc-2c542.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40dbc-2c542.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?