Skip to content

React-scrollbar workable with bower  #33

@aniruddhadas9

Description

@aniruddhadas9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions