如何在vscode运行html文件

在vscode里面安装一个扩展叫做open in browser后在你写的代码里面右键点击open in default browser(快捷键:alt+b)
如下图:
如何在vscode运行html文件
如何在vscode运行html文件
然后就可以实现在vscode运行你的html文件啦~
网页就会显示在你的默认浏览器上~
喜欢的点个赞吧~

相关文章:

  • 2021-09-27
  • 2021-08-18
  • 2021-12-22
  • 2021-09-27
  • 2021-12-29
  • 2022-01-03
  • 2021-11-06
  • 2021-11-19
猜你喜欢
  • 2021-09-27
  • 2021-12-14
  • 2021-09-27
  • 2021-12-10
  • 2021-11-08
  • 2021-09-27
  • 2021-11-16
  • 2021-09-27
相关资源
相似解决方案