Using Vue-Router Dynamic Routes to Load Data Chapter 9
Inspecting the output now reveals a collection grouped by handle, with variations and
images as objects:
With our products grouped more effectively, we can proceed with storing and recalling as
desired.
Storing the products
Once we have retrieved and formatted the CSV data, we can cache the contents in the Vuex
store. This will be done via a simple mutation that takes a payload and stores it without any
modifications.