安装react-tool
2021-08-30 本文已影响0人
云鹤道人张业斌
今天想安装个react-tool。先百度一番
各种拉代码安装后添加到google扩展程序,试试
问题:项目报错TypeError: Cannot read property ‘forEach‘ of undefined,难受的是搜索node_modules根本找不到这行代码
tip:默认搜素是排除node_modules的,即使你在node_modules右键包含也不行(只能查打开过的文件)
可以在设置中搜:search.exclude,删除**/node_modules
vscode设置说明

解决: 直接在git仓库,点击google扩展就行。就是这么简单

效果:这都4.17了。之前百度的拉代码都是3+

