Adding buttons to current-month component
We'll now add the increment and decrement buttons as well.
So coming up to our template, let's add a wrapping div here and move our, write the
wrong way; move that there and then I'm gonna add two buttons, the first one we'll just
put a minus sign in it and the second one we will put a plus sign it, and we're going
to listen to the click event on those so we use the the shorthand @ and we can go @click
and will trigger a method called dec and we'll
Click to load comments...