...

/

Building the UI for Category API: Editing a Category

Building the UI for Category API: Editing a Category

We will learn how to edit a category in this lesson.

After this lesson, our final result will look like the one below. We’ll be able to edit the categories.

Let’s get started. We have all the data fetched during the loading of the application. We’ll use that while editing a category.

The EditCategory.vue file

Open the src/views/Category folder and create a file for the EditCategory view with the boilerplate code below.

Pretty simple, we’re ...