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.
1. Extend Store
Extend vehicle store src/stores/vehicle.js
...