Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
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...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

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

  • RSS
  • |
  • Atom