Livewire and maskMoney

Hello my friends. I’m trying to use a field with decimal formatting and I can’t, the field always appears as null.
I’m using Livewire 2.4 and moneyMask plugin.
is there any solution?

<code> 
    <input class="form-control money" wire:model="money" type="text">
</code>

<code>
    <script>
            $(function () {
                $(".money").maskMoney({
                    decimal: '.',
                    thousands: ''
                    //prefix : 'R$ '
                });
            });
        </script>
</code>

Did you manage to solve? I have the same problem.