N
N
Nikita Vorobyov2018-06-02 22:15:07
npm
Nikita Vorobyov, 2018-06-02 22:15:07

How to include the library in your project?

I am mastering package managers, and I don’t quite understand the essence of connecting third-party libraries to my project.
For example, I want to install jQuery. I'm importing npm i jquery --save. Ok, the node_modules folder has been created, in which there are a bunch of other folders, among which, if we try, we will find the jquery folder, which has a lot of source files. So, what is next? How to connect it, let's say, to the made-up page? How do you do this for example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2018-06-02
@cozqvic

npm is used if you have a project builder, for example
https://webpack.github.io/
https://learn.javascript.ru/screencast/gulp
https://learn.javascript.ru/screencast/webpack

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question