Alpine x-node
directive
Alpine's x-text and x-html directives allow you to set an element's text or HTML content, but what if you have a DOM node, either from the current page or one that you've created, and want to add that to an element with Alpine? You could use innerHTML and x-html, but that may… More