I have a json file in the public folder that i want to keep it as config, so on each visit to the index page it should be fetched.
Why does this happen?
https://stackblitz.com/edit/github-czdqqt?file=pages/index.vue
#Simple fetch from public folder fails!
6 messages · Page 1 of 1 (latest)
are you trying to fetch data from a JSON?
or that is just an example?
no, in my project i want to fetch the json file in the public folder
@ivory halo I can reproduce this error, Im trying to find out if this is wanted or not! 👍
Let you know then
Okay, so currently this is an bug. An Issue on GitHub is already open! @ivory halo