要打包预览 ,nginx 临时故障 ,一时半会儿解决不了怎么办? 头大
还好发现了serve
npm install -g serve serve -s dist
-s 参数的意思是将其架设在 Single-Page Application 模式下 这个模式会处理即将提到的路由问题