After the vue project is packaged, static and index.html are generated, and then nginx is configured to point to index.html. When calling the api, the content of index.html is returned.
Such a problem will not occur during development. The proxyTable forwarding API is configured in Vue to port 3000. Does nginx also need to configure the forwarding API?
There is something wrong with your nginxlocation configuration