The local operation of vue depends on cmd??

closing this window and running localhost:8080 will cause a 404 error.
is this dependent or is there something wrong with me?
advice for beginners

Mar.19,2021

this is where a local server listens to port 8080, so you can access it in the browser. When you close this window, it is equivalent to shutting down the server, so you can't access it.


create a new VBS file with commands written in it and hidden execution in the background.
but this is also dependent on cmd. Vue-cli depends on node.


the service stops when the window is closed. Some development tools, such as vscode and webstorm, can directly open the project terminal, and then use commands to start the project. Therefore, it is recommended to use the


window that comes with these development tools, your service will be shut down. If you cannot listen to the port you are accessing, the browser will report 404, and the path cannot be found or error

.
Menu