VSCode Live Server plug-in fails

                                                          VSCode Live Server plug-in fails

Live Server : It is a small server with real-time loading function. In the project, live-server is used as a real-time server to view the effect of the developed webpage or project in real time.

Method 1: If it fails, use the     Preview on Web Server   plug-in for the same effect

 

Method 2: Change the Live Server extension settings configuration setting.json file

1. Open the extended settings->setting.json

     

2. Add the local server address 127.0.0.1 in setting.json and set the port number 8080

3. Enter http://127.0.0.1:8080/ in the browser URL       to view local files

Guess you like

Origin blog.csdn.net/qq_41008567/article/details/106202335
Recommended