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

Use a frontend asset manager like bower #26

Open
benglass opened this issue Jun 3, 2014 · 1 comment
Open

Use a frontend asset manager like bower #26

benglass opened this issue Jun 3, 2014 · 1 comment

Comments

@benglass
Copy link
Member

benglass commented Jun 3, 2014

Looks like there are a few gems for this. Rails assets has more commits but I think i prefer the bower-rails approach of letting you use bower directly if you want or through some rake commands. Rails assets method of requiring you to install bower components as gems seems to be a few too many layers to the onion. Yo dawg, I heard you like package managers so I put your package manager in a package manager so you can manage your packages while you manage your packages.

I dont know how this integrates with heroku (in terms of calling bower install, wouldnt want to do that on heroku as it assumes node is installed perhaps thats not a problem). Also there is the commit vs ignore question for frontend packages. Commit would be simpler in this case (never need to bower install on production)

https://github.com/42dev/bower-rails
https://github.com/rails-assets/rails-assets/

@benglass
Copy link
Member Author

benglass commented Jun 3, 2014

This is also somewhat stupid right now since all we are using is jquery on a cdn (although local fallback would be nice) and normalize.css but we will probably be introducing leaflet or some such js mapping library soon.

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

1 participant