Vue - 如何使用npm run build后的dist文件夹时间:2023-03-09 17:43:13 脚手架vue cli生成项目后,使用 npm run build 生成了一个dist文件夹(应该是distribution的缩写) 只要放在http服务器上就可以运行。 使用一句python命令可以搭建http服务器 python -m http.server --directory . 或者使用 npx http-server