vs code运行html文件

(这里介绍一下,vs code里面不能新建文件夹,所以可以在外面创建文件夹,在vs code里面打开)
1、在没有安装任何插件的时候,运行项目时抛出一个错误:
    Code language not supported or defined.
解决办法:
File -》 Preference -》 Settings
vs code中运行html文件
设置好后,异常解决,但是还是无法在浏览器中打开html页面;

2、然后,安装插件:
vs code中运行html文件
插件安装完后点击右下角的 Go Live即可在浏览器中打开运行的html文件
vs code中运行html文件

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-12-04
  • 2021-11-17
  • 2021-09-30
  • 2022-02-05
猜你喜欢
  • 2021-04-17
  • 2021-07-31
  • 2021-04-02
  • 2021-12-25
  • 2021-10-10
  • 2021-12-02
相关资源
相似解决方案