Structure of the code i’m running:
try removing …/. Just use “assets/astronaut_regular.json” or “./assets/astronaut_regular.json”
no results with that either
I do not use such type of workflow, but I have a vague recollection that others suggest to put such files in the public
folder, because it is seen by the end user.
As a test, if you try to open this URL http://localhost:5173/assets/astronaut_regular.json
directly from the browser, does it work?
Perfectly pointed! It does not appear, but at the public folder i loads correctly. thanks!