Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to introduce js File in react

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to introduce js files into react. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Importing jquery-2.1.4.min.js will report an error in MyEclipse. Resolve the following steps:

Step 1: locate the cause of the error: because js recognizes the settings in the imported MyEclipse2014 or MyEclipse2016, MyEclipse and Eclipse will not integrate too many tools with IDE, nor will they automatically identify them because jquery-2.1.4.min.js is a class library; then learn jquery-2.1.4.min.js will import jquery-2. 1. 4. Min. Js;, this is the foundation of JQuery.

Step 2: how to solve this error: in MyEclipse, select the project you imported or the JAVAweb project where jquery-2.1.4.min.js is located; select the right mouse button; then find the MyEclipse option; select [exclude from validation]; avoid reporting an error again

Step 3; if the previous step does not take effect; if you import too many js files such as jquery-2.1.4.min.js, please set it separately: continue to step 2 in myclipse 2014-> myclipse- > run verification; this must be solved; then deploy and run directly on Tomcat, you can use the JAVAweb project.

Thank you for reading! This is the end of the article on "how to introduce js files in react". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report