使用live-server

npm全局安装

npm install -g live-server

直接在项目根目录使用命令即可

live-server

 

posted @ 2018-05-29 17:42  松歌  阅读(218)  评论(0编辑  收藏  举报