0
点赞
收藏
分享

微信扫一扫

VSCode 使用教程-5.Live Server实时预览html效果

前言

VSCode 使用 Live Server 插件可以实时预览 HTML 页面开发效果。

安装Live Server 插件

搜索插件:Live Server

VSCode 使用教程-5.Live Server实时预览html效果_实时预览


安装完成后,在html编辑页面右键,会出现2个选项

VSCode 使用教程-5.Live Server实时预览html效果_VSCode_02

实时调试

Open with live server打开html

VSCode 使用教程-5.Live Server实时预览html效果_html_03


当编辑页面修改内容后,​​ctr+s​​保存代码,浏览器上会自动同步

VSCode 使用教程-5.Live Server实时预览html效果_VSCode_04



举报

相关推荐

0 条评论