Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

In this lesson, we will add an edit form to vehicles CRUD which is almost identical to create, except we are going to have a different URL /vehicles/:id/edit. By URL parameter :id data of specific vehicles will be fetched from API.

Edit vehicle

1. Extend Store

Extend vehicle store src/stores/vehicle.js...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

CM
Chris McGee ✓ Link copied!

It looks like you may have forgotten to mention that updateVehicle and getVehicle should be added to the return statement at the end of the vehicle store. However, anyone getting this far in the course should probably be able to figure that out by now. 😉

We'd Love Your Feedback

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.