first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export default {
|
||||
methods: {
|
||||
addToCart (product) {
|
||||
this.$store.commit('addToCart', product)
|
||||
this.$buefy.toast.open({
|
||||
message: 'Product added',
|
||||
type: 'is-success'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user