Alpine.js: bouton utilisant la fonction @click ne fonctionne pas

don't forget to add x-data="{}".

for example:
<tr x-data="{}">
	<td>
    	<button type="button" x-on:click="alert('hello world')">
    </td>
</tr>
hirohito