Gerenciando dependências front-end no Rails

Post on 14-Apr-2017

51 views 0 download

Transcript of Gerenciando dependências front-end no Rails

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