How to add jquery slider to dependency list in browser?

Description: I have package.json and bower.json to handle dependencies in my current schema. In which file should I add "jquery.slider (version 1.1.0)" and how to do it ?. I have currently added a dependency to bower.json as shown below

"dependencies": {
        "jquery.slider": "^1.1.0" 
    }

I also tried adding it to package.json, as well as both, but the slider doesn't even appear. Can someone help me with this?

+4
source share
1 answer

You can install it using npm, so it will be automatically added to yours package.json.

npm install --save jquery.slider

--save . .

, - ,

npm install

, package.json, jquery.slider.

+1

All Articles