The instructions for adding the cart session data into HandleInertiaRequests are currently under the View Cart Button In Top Bar step but I think that it would be better to move this to be under the Vue Component step because we need the cart data to be available at this stage in order for the alert in the addProduct method to work.
The instructions for adding the cart session data into
HandleInertiaRequestsare currently under theView Cart Button In Top Barstep but I think that it would be better to move this to be under theVue Componentstep because we need the cart data to be available at this stage in order for the alert in theaddProductmethod to work.