ルートエレメントを一つにする
hoge.blade.php
<div wire:click="inc">+</div>
<div wire:click="dec">-</div>
↓
hoge.blade.php
<div>
<div wire:click="inc">+</div>
<div wire:click="dec">-</div>
</div>
気付くのに30分かかりました笑
Go to list of users who liked
More than 3 years have passed since last update.
ルートエレメントを一つにする
<div wire:click="inc">+</div>
<div wire:click="dec">-</div>
↓
<div>
<div wire:click="inc">+</div>
<div wire:click="dec">-</div>
</div>
気付くのに30分かかりました笑
Register as a new user and use Qiita more conveniently
Go to list of users who liked