undefinedfix
Sign in

Vue cli Axios requests JSON in static file to return 404

tala edited in Sun, 21 Aug 2022

clipboard.png

clipboard.png

I feel that the path is wrong, but I can't find where the error is...

3 Replies
pazhitnov
commented on Sun, 21 Aug 2022

Put it in public

sepulchre
commented on Sun, 21 Aug 2022

Try adding. / or. /. / in the front. You can try it

mangtay
commented on Sun, 21 Aug 2022

Since 404 is returned, the file is not found and the path is wrong