react-scrollbars icon indicating copy to clipboard operation
react-scrollbars copied to clipboard

React-scrollbar workable with bower

Open aniruddhadas9 opened this issue 8 years ago • 0 comments

Any one using bower and don't like npm for dependency can use bower install and wiredep react-scrollbars into project can do it in below way.

bower install react-scrollbars --save

as this component is only managed by npm , it will not automatically wiredep by grunt and and the link will bot be added automatically to your index.html. to work this with bower and grunt wiredep, create a bower.json file and add below line into it. make sure to add "main" which will tell bower and grunt which file need to be added into the index file.

// bower.json { "name": "hello-world-element", "version": "1.0.1", "description": "Web Component example using VanillaJS.", "license": "MIT", "main": "./src/js/components/react-scrollbar.js" }

aniruddhadas9 avatar May 12 '16 22:05 aniruddhadas9