VS Code中的live server 打开html文件但页面显示Not Found
这样情况打开vs code左下角管理 点击设置扩展里找到live server config
然后在settings.json中编辑
然后ctrl+z一下
改变端口号 改成8080就行
"liveServer.settings.donotShowInfoMsg": true,
"workbench.editor.enablePreview": false,
"liveServer.settings.CustomBrowser": "firefox",//默认打开浏览器
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.NoBrowser": true,
"liveServer.settings.port": 5500,//打开端口号