fetching blogs and articles

This commit is contained in:
thomas
2020-02-27 20:22:03 +01:00
parent 97a8b136f0
commit c00452f3d0
10 changed files with 136 additions and 20 deletions
+4
View File
@@ -1,5 +1,6 @@
export const state = () => ({
products: [],
blogs: [],
checkout: {
lineItems: []
}
@@ -11,5 +12,8 @@ export const mutations = {
},
setCheckout (state, data) {
state.checkout = data
},
setBlogs (state, data) {
state.blogs = data
}
}