Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React-scrollbar workable with bower #33

Open
aniruddhadas9 opened this issue May 12, 2016 · 0 comments
Open

React-scrollbar workable with bower #33

aniruddhadas9 opened this issue May 12, 2016 · 0 comments

Comments

@aniruddhadas9
Copy link

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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant