Answer the question
In order to leave comments, you need to log in
What is the best way to connect library files to html and how is cdn different from connecting via npm?
What is the best way to connect library files to html and how is cdn different from connecting via npm?
What are the differences and advantages of connecting files in different ways?
Does it make sense to use the library connection via npm, and what is its advantage?
Answer the question
In order to leave comments, you need to log in
It's simple: if you use a build system (like Webpack), then you most likely need npm.
If you just need to include js code in the page, then use CDN.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question