陈拓 2022/09/22-2022/09/22
1. 安装Live server插件
- 安装
- 设置为谷歌浏览器打开(安装完Live server插件以后需要重启一下VSCode)
点击扩展 > 找到Live server插件 > 点击齿轮 > 选择扩展设置
- 选择默认为谷歌浏览器
- 编辑html文件
- 将html文件所在的位置另存为工作区
2. 运行html文件
- 右击编辑区
- 点击Open with Live Server
参考文档
- VScode下安装Live Server(自动刷新html页面)
https://blog.csdn.net/zhuiqiuzhuoyue583/article/details/126610162