不需要安裝插件,不需要配置 package.json 文件,不需要安裝webpack-bundle-analyzer、 ~~??!去看 vue-cli 的官方文檔
運行 npm run build -- --report
在dist文件生成一個report.html文件,直接打開即可訪問

image.png

image.png
不需要安裝插件,不需要配置 package.json 文件,不需要安裝webpack-bundle-analyzer、 ~~??!去看 vue-cli 的官方文檔
運行 npm run build -- --report
在dist文件生成一個report.html文件,直接打開即可訪問