I use Alpine.js in my HTML and event could be short written with like this:
<button @click="open = true">Expand</button>
If I open a document with HTMLDocument, the output removes the @click attribute:
Any idea how I can preserve the @click attribute?
I use Alpine.js in my HTML and event could be short written with like this:
If I open a document with
HTMLDocument, the output removes the@clickattribute:Any idea how I can preserve the
@clickattribute?