VScode运行

1、http 运行:查看--》终端--》

    OR

    终端--》新建终端--》

    然后输入:live-server 回车,会打开浏览器,并且是以localhost的方式:

2、类似 本地打开 html 运行: 

  右键页面内容,open in (default、other )browser 

转载于:https://www.cnblogs.com/JAVA-STUDYER/p/11065719.html

猜你喜欢

转载自blog.csdn.net/weixin_33859665/article/details/93605348