2023/05/02

Using the VSCode extension "Live Server"


When programming HTML/CSS/JavaScript in VSCode, it is convenient to install the 'Live Server' extension.

How to use

Open the folder containing the file you wish to view in VSCode.
Note: Live Server will not work unless you open it with a folder.

There are several ways to display the page.

right-click and select Open with Live Server

click 'Go Live' in the status bar at the bottom right

Setting

You can configure various settings in the configuration page on VSCode.

How to configure Live Server

Detailed explanations for each setting are available on GitHub.

There are a total of 20 items.
You can configure settings such as host address, port number, and default browser.




Comment (github account is required)