You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
}
The text was updated successfully, but these errors were encountered:
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"
}
The text was updated successfully, but these errors were encountered: