The Vue.js Master Class
Sponsored by Storyblok
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

🚧 NOTICE: You are watching a Vue.js 2 lesson

Post Editor Buttons

In this lesson, we'll improve the post editor buttons based on the computed property isUpdate. We'll also use vue's event modifier to prevent the browser to scroll to the top when we click the edit button.

We'll also add a cancel button that discards the potential changes and closes the editor.