first commit

This commit is contained in:
thomas
2019-09-30 19:48:54 +02:00
parent 180348b4d4
commit f575b5b70b
10 changed files with 182 additions and 115 deletions
+11
View File
@@ -0,0 +1,11 @@
export default {
methods: {
addToCart (product) {
this.$store.commit('addToCart', product)
this.$buefy.toast.open({
message: 'Product added',
type: 'is-success'
})
}
}
}