Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js 3 Masterclass

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Preparing the User Interface for Post Updates

🚧 PLEASE NOTE: This masterclass is built with the Options API
vuejs-masterclass

The Composition API Masterclass is coming soon!

In this lesson, we create the user interface for an "Edit Mode" in the PostList component to accommodate editing posts. We also play on a top strength of Vue.js, reusing the PostEditor component for updating posts as well as creating them. Along the way, we also use the post provided to the component to make smart decisions about the button label.