Alpine JS x-On Нажмите, не работает

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