How does vue-cli3.0 request json files locally

in which folder should I put the json file to get it? Put it under assets. I tried the browser and didn"t seem to get it

.

clipboard.png

clipboard.png

clipboard.png

Dec.23,2021

the public on the first floor can be packaged by public or the complete copy template in this directory can be packaged.
Let me be more specific about it

.

request can be added with local service domain name (ip)
file directory: public/index.json
request: http://localhost:8080/index.json


under public


anywhere. How do you use it? Put down the code

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34998-2bf55.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34998-2bf55.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?