Last active
August 29, 2015 14:11
-
-
Save samurairunner/48bfad5efcd7d616db23 to your computer and use it in GitHub Desktop.
Railsのマニフェストファイルを使ったJsとStylesheetの呼び出し ref: http://qiita.com/samurairunner/items/da22eddb64e867b4e145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*= require_self | |
*= require_tree . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<%= sylesheet_link_tag "application", media: "all", data-turbolinks-track" => true %> | |
<%= javascript_include_tag "application", data-turbolinks-track" => true %> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//= require jquery | |
//= require jquery_ujs | |
//= require jquery turbolinks | |
//= require jquery_tree . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<%= sylesheet_link_tag "application", media: "all", data-turbolinks-track" => true %> | |
<%= javascript_include_tag "application", data-turbolinks-track" => true %> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= sylesheet_link_tag "test1/test", media: "all", data-turbolinks-track" => true %> | |
<%= javascript_include_tag "test2/test", data-turbolinks-track" => true %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment