安装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设置说明

image.png

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

企业微信截图_16303118029781.png

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

企业微信截图_16303119347825.png 企业微信截图_16303118837408.png
上一篇 下一篇

猜你喜欢

热点阅读