Is ReactJs on bower? - bower

I'm very interested in some of the concepts in ReactJs and would like to play around with it. I'm trying to start a project to play around with it but I've been looking all over and I can't seem to find it on bower. But then again bower search kind of sucks...
Is it on there and I'm just not seeing it? If is there something about it that makes it not a good fit for the bower model? I would expect that both projects are popular enough they would work together.

I'm not sure on the particulars of bower, but we have this repository:
https://github.com/reactjs/react-bower
which should be available as bower install react.
$ bower lookup react
react git://github.com/facebook/react-bower.git
$

To bower installation, you need to install to Git Shell, using command promt of it, your project have got a bower file. When you installed them, you should be follow the command below:
> cd d:/yourappfolder/
> bower install

Related

How to install librabbitmq in App Engine Google Cloud Platform

I've been trying to install librabbitmq in App Engine GCP without any luck. https://github.com/celery/librabbitmq
All other pip packages install properly if they are in the requirements.txt via my yml file, however, this package does not work (missing compiler, gcc, etc).
How do you install this in App Engine?
I've tried both in Python2 and Python3 just in case, works ok for me.
Try to require a specific version,maybe that's your issue?
Here you have a simple requirements.txt, if that doesn't solve it give us more info.
Try this:
Flask==1.0.2
rabbitmq==0.2.0

Installation with Create React App

I'm sorry for asking what may be an obvious question to most, but I'm lost. I have created a react project with create-react-app. I want to add a third party library (Ant Design UI Framework) that uses .css styles. Ant will use global .css and the rest of my application can then use styleName.
After running npm install babel-plugin-react-css-modules --save what do I have to do to get this running? The documentation references the configuration but the individual steps required properly configure the app aren't clear at all—at least to me.
Can someone help with a bit of an "idiot's guide" to setting this up, and detail some of the steps?
Thanks,
Chris
Ant Design also have react native library as you can see here
You just need to run the following command on your project root to install it:
$ npm install antd-mobile --save

How to make JSPM install Bower dependencies

For a while now, my client has been using some Node and Bower components to build projects. Whenever a new developer comes in, it's easy for that person to simply run
npm install
bower install
And then be ready to work.
We are working on a new project and this time we want to use JSPM instead of Bower. However, we want to leverage our existing private libraries (20+ of them) and we don't want to spend stupid amounts of time rewriting them. Plus they still need to work as regular Bower components for other projects.
So far, this worked. We used jspm-git to set the registry. However, JSPM fails in one regards: it does not install the Bower dependencies of those libraries it installed.
How would we go about that? I would love the other devs in the team to be able to check out the project and run
npm install
jspm install
And be on their way. It doesn't seem possible so far. Any set up we have forgotten? Any guidance will be greatly appreciated.
You need the jspm bower endpoint:
npm install jspm-bower-endpoint --save-dev
Then you need to register the bower endpoint with jspm:
jspm registry create bower jspm-bower-endpoint
Then you can install bower packages:
jspm install bower:angular-bootstrap-multiselect
Hope this helps :)
Just installed it successfully with jspm install npm:bootswatch, then required it in code with <require from="bootswatch/slate/bootstrap.min.css"></require>
Also posted this info on the bootswatch-dist project on github here: https://github.com/dbtek/bootswatch-dist/issues/32

Bower - Get only files needed (not entire Repo)

I am trying to use Bower to install jquery.
The frustrating problem I have been running into is that bower downloads the entire repro. I was hoping to tell bower to install a certain version of jquery and have only those files downloaded.
I did try the suggestion here with no luck. The entire repo is still downloaded even after clearing the bower cache
I would rather have something else manage which files to download than me manually specifying the file names in bower.json
bower.json in the repo : https://github.com/jquery/jquery/blob/master/bower.json
Thank you
I think you didn't unterstand the meening of bower:
Bower is handling you dependencys, so if you do a:
bower install jquery
it should download all files.
Now to you question:
you have following options:
declare wich file you want to download:
bower install http://code.jquery.com/jquery-2.1.0.min.js
but remember:
this file cant be updated easily
search for a js only package:
expample with bootstrap:
bower install bootstrap-css-only
but remember:
these packages sometimes are not up to date
use bower-installer (recommended):
install the bower-installer:
npm install bower-installer --global
and now follow the tutorial:
bower-installer github
sorry for my bad english :-)

Unable to build a custom Zepto package

I've been trying to do a custom build of Zepto (I do have coffee installed globally already), with the following commands:
git clone https://github.com/madrobby/zepto.git
cd zepto/
npm install
MODULES="polyfill zepto event ajax fx touch" ./make dist
but keep running into the problem of things hanging immediately after
> zepto#1.0.0 dist /Users/johnny/Development/zepto
> coffee make dist
With the lack of verbose build commentary from coffee, I can't tell if anything's erroring, but I can't imagine that building Zepto would take more than a few minutes (and certainly not over an hour). Even their default dist build (without customizations) hangs at the same place, and happens both on my Ubuntu and Mac boxes.
As per https://github.com/madrobby/zepto/issues/782#issuecomment-20852321 if you install coffeescript > 1.5.0 this problem should go away. You can get the latest by running:
sudo npm install -g coffee-script
I was having the same problem and bumping my version of coffeescript fixed it (i was on 1.4.0)
Replace ./make dist with npm run-script dist
It works for me.
I was struggling with the same problem and came across this web app which generates a custom zepto build for you. All you have to do is select the modules you want included. I just used it and it worked fine:
http://github.e-sites.nl/zeptobuilder/

Resources