[Vuejs]-Vue passing data become undefined

2👍

Found the culprit at my view:

Instead of

<RemoveCart :cartId="{{ $cart->id }}"></RemoveCart>

Should be

<RemoveCart :cart-id="{{ $cart->id }}"></RemoveCart>
👤ssuhat

Leave a comment