Jonathan Martin
Archive for 2015
-
Backend, Meet Frontend: Managing Assets with Bower
~ by Jonathan Martin
TL;DR: Don’t manage vendor assets with Rails gems, use Bower and NPM. Checkout the gist for quick reference.
So you’ve knocked out a few epics in Pivotal Tracker and have an MVP ready for Heroku, when your project manager announces that the Bootstrap-based frontend and choice of colors will likely turn off investors.
To mitigate your “button-and-text soup,” he decides to hire a graphic designer and frontend developer to clobber your beautifully simple Rails app with masses of minified JavaScript, Convoluted Style Sheets, and litter your
slim
templates with classes and data attributes.