Closed mulderp closed 11 years ago
Thanks, yes, I've read about bower, but from my understanding it works with grund to download the deps (whole git repo's by default), see e.g. http://www.blogeek.com.ar/2013/04/25/automatically-download-use-frontend-js-dependencies-with-bower-grunt-boilerplate-free/
When I start with fiddling frontend apps, an easier bundler solution would be great. The approach here is only very rough, but could evolve into something better, e.g. reading dependencies from a file, ... ?
Hmm.. I think bower solves indeed part of the problem that I had, nice writeup here: http://dev.af83.com/2013/01/02/managing-rails-assets-with-bower.html
So, we maybe would need to provide an empty component.json, or component.json templates, such that when we run
bower install
We are ready to go?
Indeed, bower and bower-installer (https://github.com/blittle/bower-installer) are a great combination to fetch JavaScript dependencies. Probably, this PR can be closed.
some thoughts here: http://thinkingonthinking.com/Preparing-Application-Development/
This small class adds a feature to easily fetch JavaScript dependencies from their project pages, e.g.:
would 'fetch' jQuery and it could easily piped into your new project with '> assets/libs/...'
Currently supported fetches are:
I can imagine some variations of the theme to help to setup a fresh project from scratch (e.g. using a YAML, automatically saving the files in the corresponding folders, etc.)
What do you think?