Does vue report 404 error after setting proxyTable?

1. The project background is written in node, and the data can be obtained through the direct access interface. The server is a local server with a port number of 3000,

2.vue-resource8080proxyTable404

.
Apr.11,2022

pathRewrite:{
    "/api":""
}

// 
this.$http.get('/api/info').then()

ps: don't post pictures in the code!


has been solved. Thank you


how to solve it?

Menu