Typically the way is to add them to the angular.json file in the scripts array - this will create a link ref in the index.html at the global level
On Sunday, December 13, 2020 at 4:57:35 AM UTC-5 [email protected] wrote: > I cannot help but how to add third party js libraries to Anqular. > Can you help solve this problem? > > > <!-- JavaScript Libraries --> > <script src="lib/jquery/jquery.min.js"></script> > <script src="lib/jquery/jquery-migrate.min.js"></script> > <script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script> > <script src="lib/easing/easing.min.js"></script> > <script src="lib/superfish/hoverIntent.js"></script> > <script src="lib/superfish/superfish.min.js"></script> > <script src="lib/wow/wow.min.js"></script> > <script src="lib/waypoints/waypoints.min.js"></script> > <script src="lib/counterup/counterup.min.js"></script> > <script src="lib/owlcarousel/owl.carousel.min.js"></script> > <script src="lib/isotope/isotope.pkgd.min.js"></script> > <script src="lib/lightbox/js/lightbox.min.js"></script> > <script src="lib/touchSwipe/jquery.touchSwipe.min.js"></script> > <!-- Contact Form JavaScript File --> > <script src="contactform/contactform.js"></script> > > <!-- Template Main Javascript File --> > <script src="js/main.js"></script> > <script> > (function() { > $(document).ready(function() { > var arrItems; > arrItems = $('.lm-item'); > return arrItems.hover(function() { > return arrItems.addClass('blur'); > }, function() { > return arrItems.removeClass('blur'); > }); > }); > > }).call(this); > </script> > > Example: > > https://yadi.sk/d/onXX3X1VizXwng > > This template > https://bootstrapmade.com/buy/?theme=BizPage > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/10cc970f-f7bc-4a24-95fa-8bc4a4d3e8fen%40googlegroups.com.
