Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于那些IDE的坑 #6

Open
shaobeichen opened this issue May 5, 2018 · 0 comments
Open

关于那些IDE的坑 #6

shaobeichen opened this issue May 5, 2018 · 0 comments

Comments

@shaobeichen
Copy link
Owner

shaobeichen commented May 5, 2018

timg 1

1. 使用vue-cli,热替换不起作用怎么办??

webstorm默认保存在临时文件,把settings=>appearance=>system=>synchornization=>最后一项勾去掉

2.打开项目慢,怎么让webstorm不加载node_modules文件?

Setting -> Editor -> File types -> Ignore files and folders
在那添加上 node_modules。 就会默认被忽略。全部项目都按这个默认。想把node_modules拿回来的用下面的方法就能拿回来了。
最好移除 .ignore 插件,宁可删错不能放过。
Setting-> Directories
是针对当个项目,在想忽略的文件夹点一下,再点上面的Excluded按钮就会排除它了。想拿回来的同样再取消Excluded就可以了。
最好删掉根目录下的 .idea 文件夹,让webstorm重新建立索引,以免出现卡死。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant