问题描述
Vue的"npm install" 命令执行后,会生成一个很大的目录层次的"node_modules",文件十分繁多;
idea加载这个项目下的文件夹会花费调用大量的资源,一直"Indexing......",很快就直接卡死了.
解决办法
进入设置,把这个文件目录忽略掉;
![](https://img2018.cnblogs.com/blog/1153851/201903/1153851-20190327174513664-726496288.png)
官方详细解释及链接
![](https://img2018.cnblogs.com/blog/1153851/201903/1153851-20190327174823900-1451906643.png)
https://www.jetbrains.com/help/idea/2018.1/ignore-unversioned-files.html?utm_content=2018.1&utm_medium=link&utm_source=product&utm_campaign=IU
看不懂English的话,请求助谷歌翻译