vue打包后的项目在本地跑起来

首先全局安装:

npm install -g serve

其次,在项目所在dist文件里执行以下命令:

  serve -s

原文地址:https://www.cnblogs.com/pylf/p/15070738.html