Thursday 15 August 2013

How can I use CSS and JavaScript with Ruby on Rails? -


I have a template code css and javascript file and I have to use them in my rail application to see them in the list < / P>

How can you insert it into your application?

App / assets / stylesheet folders and styles in javascript / apps / javascript folders.

You can either add files, or paste the code into application.css and application.js.

Then they need such a top type:

  // = Required jquery // requires jquery_ujs // = bootstrap.min // is required turbolinks // requires_tree  

1 comment: