Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<title>RailsReactTutorial</title>

<%= append_stylesheet_pack_tag('stimulus-bundle') %>
<%= stylesheet_pack_tag(media: 'all', 'data-turbolinks-track': true) %>
<%= append_javascript_pack_tag('stimulus-bundle') %>
<%= append_javascript_pack_tag('stores-registration') %>

Expand All @@ -20,7 +21,6 @@

<%= react_component "Footer" %>

<%= stylesheet_pack_tag(media: 'all', 'data-turbolinks-track': true) %>
<%= javascript_pack_tag('data-turbolinks-track': true, defer: true) %>

<!-- This is a placeholder for ReactOnRails to know where to render the store props for
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/stimulus_layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<title>RailsReactTutorial</title>

<%= append_stylesheet_pack_tag('stimulus-bundle') %>
<%= stylesheet_pack_tag(media: 'all', 'data-turbolinks-track': true) %>
<%= append_javascript_pack_tag('stimulus-bundle') %>

<%= csrf_meta_tags %>
Expand All @@ -19,7 +20,6 @@

<%= react_component "Footer" %>

<%= stylesheet_pack_tag(media: 'all', 'data-turbolinks-track': true) %>
<%= javascript_pack_tag('data-turbolinks-track': true, defer: true) %>
</body>
</html>
Expand Down
Loading