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

首先全局安装:

npm install -g serve

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

  serve -s

 

posted @ 2021-07-28 15:27  晚睡的猫  阅读(309)  评论(0编辑  收藏  举报