Answer the question
In order to leave comments, you need to log in
How to use third party js libraries?
Shalom guys.
There is a project on Angular 2. The logic is ready, it remains to file the pug. For this, the Foundation CSS Framework was chosen. For all sorts of cool stuff, Foundation uses JQuery and its own library. In order for everything to work (Foundation puffs), attributes are used in the markup - a la directives in Angular2. Good story...
Question 1: how to use ( without customization ) JS libraries in Angular2? Same JQuery? Staying in the old tradition on JS files? How to do this more intelligently using npm, for greater compatibility.
Answer the question
In order to leave comments, you need to log in
stackoverflow.com/questions/30623825/how-to-use-jq...
npm install --save jquery
npm install --save @types/jquery
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question