修改conf/index.js中的devtool的值"#cheap-module-eval-source-map"修改为#source-map即可
vue使用脚手架搭建的项目在google调试时代码行数和源码不一致
本文介绍如何在conf/index.js中将devtool的值从#cheap-module-eval-source-map修改为#source-map,以优化源代码映射。
本文介绍如何在conf/index.js中将devtool的值从#cheap-module-eval-source-map修改为#source-map,以优化源代码映射。
修改conf/index.js中的devtool的值"#cheap-module-eval-source-map"修改为#source-map即可

被折叠的 条评论
为什么被折叠?