In my Vuex store Action i have the following:
require("@/assets/car.png")
I have tried the following too but no luck
require("~/assets/car.png")
however server side rendering I am unable to resolve the path with the following message:
Cannot find module at webpackemptycontext
How can i get this to work so that my state in vuex has the file image path which i then pass down to client?