Bro. component.io
All components compile to a global build.js and build.css from the command line, so the only restriction on the framework you are using is that you can include those from the main template.
With node previously installed:
$ npm install -g component
With node binary on OSX:
$ (cd /usr/local && \
curl -L# http://nodejs.org/dist/v0.8.15/node-v0.8.15-darwin-x86.tar.gz \
| tar -zx --strip 1) \
&& npm install -g component \
&& printf "installed component(1) %s\n" $(component --version)
NOTE: tested with node 0.8.x
{
"name": "My cool project name",
"dependencies": {
"fredsterss/image-zoom": "*"
}
}
####3. Fetch and install your components
component install
####4. Build your components!
component build
To build to a specific location:
component build --out path/to/dir
Because they are a great way to organise your front end code, and access powerful functionality without having to depend on bloated libraries.
npm install -g component
didn't work for me, until I rooted it. fyi