vue-cli怎么访问打包后的dist文件 haosicx 2022-05-19 346 阅读1分钟 npm run build后如何运行打包后的项目? 打包后的dist文件夹后 需要丢在服务器后才能打开 可以使用anywhere 来开启 -- npm i anywhere -g 全局安装anywhere -- 然后在打开dist文件夹目录中打开终端 直接运行anywhere命令即可 -- 就可以自动在本地开启服务器运行dist打包项目