3 ms·
It’s always been a challenge in rails but I feel since rails 3 using assets with simple //= require file Syntax is pretty easy and using a template language li
by taf2 6y ago
It’s always been a challenge in rails but I feel since rails 3 using assets with simple //= require file
Syntax is pretty easy and using a template language like mustache to organize via hogan.js works really well...
I’m sure I’m an outlier but you can even use es6 classes now making this pretty nice IMO...
But I do remember writing deployment scripts with rails 1-2.4 to combine files together and it was tricky... sprockets has its issues but works...