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

reactcss with bower. #17

Closed
piyushchauhan2011 opened this issue Aug 2, 2015 · 3 comments
Closed

reactcss with bower. #17

piyushchauhan2011 opened this issue Aug 2, 2015 · 3 comments

Comments

@piyushchauhan2011
Copy link

Is there any way so that we can use reactcss package with bower ?

The scenario is that we are using react-rails package and don't know how to integrate reactcss using npm ? We already have support for both bower and npm in the rails project and we can go for installing reactjs from npm but it will be redundant to do so as

// Include the library
var React = require('react');
var ReactCSS = require('reactcss');

will include the react library too.

Currently React variable is exposed globally and we can use it directly. I just used only the second line i.e. var ReactCSS = require('reactcss');, but is that a good way ?

I'm just wondering what could possibly be right way of developing with ReactCSS

@piyushchauhan2011
Copy link
Author

@casesandberg ??

@casesandberg
Copy link
Owner

Looking into it today @piyushchauhan2011

@wdmtech
Copy link

wdmtech commented Nov 16, 2015

Try:

bower install https://github.com/casesandberg/reactcss.git

In absence of a bower.json file 😄

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

3 participants