在vscode 頭疼的問題是 用瀏覽器查看網頁!會是以文件夾的方式打開的! 我遇到這個問題 我還重新配置了Apache !

但是現在可以解決:
使用vscode ====================
打開cmd :

在cmd 控制台中輸入 :
1.運行cnpm install live-server -gf
2.在運行live-server
安裝好之后回自動的彈到網頁!
打開vscode =======================

在彈出的終端中輸入 ;
live-server

恭喜你完成!
