Alpine JS X-on Click Nie działa

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