When the vue setting project is running, let the browser open automatically, and the error message is: The webpage with the URL http://0.0.0.0:8080/ may be temporarily unavailable, or it has been permanently moved to a new URL

1- Error reporting problem

Create a Vue2 project with scaffolding , and let the browser automatically open when the project is running;

or

After execution npm run serve, the browser automatically opens and reports an error, showing:
The webpage at http://0.0.0.0:8080/ may be temporarily unavailable, or it has been permanently moved to a new URL.

 2- Solution

vue.config.jsAdd code in

Guess you like

Origin blog.csdn.net/qq_51402804/article/details/129419380