parcel

189 阅读1分钟

在项目目录下npm init -y安装依赖

指定入口文件 parcel index.html

就可以在浏览器中打开 http://localhost:1234/ ,也可以使用 -p<port number>选项覆盖默认端口。