1、打开VsCode编辑器,点击扩展按钮,打开侧边栏扩展面板,输入“live server”点击进行下载安装。
3、返回到编辑器,打开一个html文件,鼠标右键“open with live serve”。