Answer the question
In order to leave comments, you need to log in
How to use libraries installed via NPM in a project?
I understand that this question has been raised many times, but I have not found an intelligible answer to it. Suppose I decide to install some library or framework, let's take the same Bootstrap. With Node.js installed, I ran the command in the console npm i bootstrap -D
. The necessary files were written somewhere in the bowels of the node_modules folder. How can I now use them in the project, how to connect them to the html page, without manually prescribing everything in the path?
PS I use Gulp as a builder. I heard about some miracle bunch of gulp + browserify, but in practice I did not use it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question