Want to access all of our courses? (36 h 00 min)
You also get:
Already a member? Login here
In the previous lesson, the order in Cart.vue is called form ( const form = useForm(....) ), with that we can remove a product. But in this lesson that const is called order. So, when you copy and paste the code from this lesson, it throws an error.
this is not the same constant, it is new one
In the previous lesson, the order in Cart.vue is called form ( const form = useForm(....) ), with that we can remove a product. But in this lesson that const is called order. So, when you copy and paste the code from this lesson, it throws an error.
this is not the same constant, it is new one