Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Advanced Vue 2 - Vuex & SSR > Lesson 32

Submit new event to store

So we're gonna need some sort of submit button for our form now.

So let's go back to our template and underneath the input we're going to create another div,

we'll give it a class of buttons like that.

Then I create a button, we won't actually create a submit, we'll just create a button

and we'll capture the click on that and we'll call it create and then we'll give it a text

of create like that.

So let's compile that.

Yeah, there you go.


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom