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: {
UPDATE
Figured it out myself. Just had to replace the components data part with a computed method:
data:
data: { productList: store.state.productlist }
and replace it with.
computed: { productList () { return store.state.productlist; } },