一个快速创建web server的方式

131 阅读1分钟

先全局安装serve模块

yarn global add serve

然后在指定目录下使用,比如:


serve ./dist