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

Is there an install to just use the component? #23

Open
toddcoulson opened this issue Aug 24, 2018 · 1 comment
Open

Is there an install to just use the component? #23

toddcoulson opened this issue Aug 24, 2018 · 1 comment

Comments

@toddcoulson
Copy link

toddcoulson commented Aug 24, 2018

Having this as an example is convoluted. I could not get this to work as just an import of react-drawer and add the drawer component into my project. Basically I want to skip this step:

npm install
webpack

It kept asking me for animate.css and I could not figure out how to reference it. I installed animate.css, but it kept saying it could not located it.

@atom2ueki
Copy link
Owner

Hi @toddcoulson,
These two steps were just an example incase you need to compiling lib by yourself
two ways to use this library

  • download from release, get this two file ./lib/react-drawer.css, ./lib/react-drawer.js, include them to your project, refer to the Example
  • by using npm install --save react-drawer (recommended)

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

2 participants