简体   繁体   English

使用Webstorm预览项目,始终显示以下提示,如何解决?

[英]Use Webstorm to preview the project, always show the following tips, how to fix it?

Use Webstorm to preview the project, always show the following tips, and Jquery not works, but I open the website directly, the Jquery works, what is the problem? 使用Webstorm预览项目,总是显示以下提示,并且Jquery不起作用,但是我直接打开网站,Jquery起作用了,这是什么问题? how to fix the Webstorm? 如何修复Webstorm? Thanks 谢谢

tips:
Uncaught ReferenceError: jQuery is not defined               jquery-1.8.2.js:95   

Image link : http://np.cdnway.com/images/2015/07/13/55a318edb0062.jpg 图片链接: http : //np.cdnway.com/images/2015/07/13/55a318edb0062.jpg

You have to add jQuery to the list of libraries that you project uses, so that WebStorm knows that you're using it and can use it as a reference. 您必须将jQuery添加到您的项目使用的库列表中,以便WebStorm知道您正在使用它并将其用作参考。

I don't normally like to solely link to an external site, but there's too much on there to post in here, so I'll just point you to the jetbrains blog on this topic. 我通常不希望仅链接到外部站点,但是在那里有太多可以发布的内容,因此,我只将您带到这个主题的jetbrains博客

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM