I\'m new to vue, so I\'m probably making a rookie error.
I have a root vue element - raptor.js:
const Component = { el: \'#app\', store, data: {
You are calling the store into the productList data property in the wrong way.
You can try it:
data: { productList: $store.state.productlist }
Otherwise you have to import store in each component that are using the store.