Want to access all of our courses? (30 h 41 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
Tell us what you like or what we can improve
Feel free to share anything you like or dislike about this page or the platform in general.
Your feedback has been received. We truly appreciate you taking the time to help us improve.
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