参考资料:
https://blog.csdn.net/qq_43660252/article/details/103563734
https://blog.csdn.net/qq_43382853/article/details/108279576
https://blog.csdn.net/jack_rose_me/article/details/113004859
-
使用
vscode
插件:live server
-
使用
node
工具browser-sync
npm install -g browser-sync
cd 进入html项目的路径运行下面语句
browser-sync start --server --files "**"
访问http://localhost:3000/
-- end --