Answer the question
In order to leave comments, you need to log in
How to include a js plugin in a project?
I have a gulp build.
There is js plugin nouislider.js which I installed via yarn add nouislider --dev
How can I use it in the project now?
Previously, I just copied js and css from the plugin to a folder and connected them via script:src and link:rel
. Now there is a node_modules/nouislider folder , I can do a task with copying js and css to the build folder , but in my opinion it is not the right approach.
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