Using Vue and Webpack.
I’m trying to leverage NLM for hosting of some image assets used in my site, but in my branch to test it out all images return with a 404.
Any image requested returns a JSON response {"code":404,"msg":"File not found"}
, however I have a custom 404 page which is returned for any other page/path/image that does not exist
I have followed all the steps listed in here and all looks correct.
√ Checking Git version [2.22.0.windows.1]
√ Checking Git LFS version [2.7.2]
√ Checking Git LFS filters
√ Checking Netlify's Git Credentials version [0.1.8]
I can see in my git repo on the branch that the images are in the expected format.
version https://git-lfs.github.com/spec/v1
oid sha256:9ede68414a0f9557b3b2b3b0f6afc03dd111644c9a84d174460ce95c391ef416
size 2249659
And the oid sha matches up with the sha matches up with the image listed under large media in the site on Netlify.
The images are import using require('@/assets/images/XXX.jpg')
, they do however map to a different directory images/XXX.jpg
after github, but this is reflected in the location of the image under Large Media for the site
Any help greatly appreciated