An example Gridsome static site using Vue and Vuex with modules for shopping cart functionality.
This example site uses Vuex shared mutations so that the shopping cart is syncronised across tabs. It also uses Vuex persistedstate so that the cart is stored locally, so if you revisit the site the shopping cart isn't lost.
https://gridsome-vuex-shopping-cart.netlify.app/
yarn install
gridsome build
gridsome develop