gerenciando dependências front-end no rails
Post on 14-Apr-2017
51 Views
Preview:
TRANSCRIPT
Gerenciando dependências front-end no Rails
Weverton Timoteo - @wevtimoteohosted by supported by
11º
Assets?
Only CSS and JS?
Rails Asset Pipeline
Pre-Processors
Where to store?
public/ app/assets/ vendor/assets/
Expiring cache
application-908e25f4bf641868d8683022a5b62f54.css
application.css?1309495796
How to use?
<%= javascript_include_tag 'my_manifest' %> <%= stylesheet_link_tag 'my_manifest' %>
Alternatives
Rails-Assets.org
Rails-Assets Maintainers
Using Rails Assets
Front-end Dependencies
We're hiring
celtec.github.io OR bit.ly/celtec-jobs
Thank you!@wevtimoteo
• Rails Guides - Asset Pipeline - http://guides.rubyonrails.org/asset_pipeline.html
• Sass-lang - http://sass-lang.com/
• Less CSS - http://lesscss.org/
• Coffeescript - http://coffeescript.org/
• Typescript - https://www.typescriptlang.org/
• Elm - http://elm-lang.org/
• Rails-Assets - https://rails-assets.org
Referências
top related