talk npm i npm run dev: 通过webpack-hot-server搭建服务,浏览器访问localhost:3001 npm run prod: 通过webpack打包并压缩文件到指定目录 node server: 通过node搭建服务,浏览器访问localhost:3000