Created
August 2, 2017 09:21
-
-
Save igorfelipee/600e4a76f9416dcf9028e1b8e2cf9e09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { mapActions } from 'vuex'; | |
export default { | |
name: 'book', | |
methods: { | |
...mapActions([ | |
addItemToCart: 'addItemToCart' | |
]) | |
}, | |
props:['book'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment