Answer the question
In order to leave comments, you need to log in
How to connect plugins via nmp?
Hello. I just can't figure out how to install and use some add-ons through npm.
Let's say normalize/magnific. I install them via
npm install --save-dev normalize.styl
npm install --save-dev magnific-popup
Answer the question
In order to leave comments, you need to log in
Where to put them automatically and how to use them?
You downloaded the module code, it can be for the server, it can be for the assembler or for the frontend. Only the one who writes the project knows how and where to connect it. Therefore, all modules write docks how to use it in one case or another.
I use gulp-include for this , you can also use webpack
Example: https://github.com/zoxon/gulp-front
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question