[Vuejs]-VUE: the whole page disappeared, only showing "Proxy error…"

0👍

✅

I may find the problem now,my proxy ‘/a’ and routing address ‘/index/a’ are duplicated.After I modify the route name, I can refresh it and access it normally

0👍

Check your back end server it’s running or not.
If it is running change your proxy to

"proxy": {
    "/api/*": {
        "target": "http://[::1]:8080"
    }
}

or change localhost:PROXY_PORT to 127.0.0.1:PROXY_PORT this might work for you

Leave a comment