Skip to content

Commit

Permalink
Use turbolinks by default again
Browse files Browse the repository at this point in the history
In older ihp versions these scripts were bundled using the Makefile prod.js bundler. But since we disabled it by default we now need to add it to the layout by default
  • Loading branch information
mpscholten committed Feb 18, 2021
1 parent cd4f2d0 commit 066edfc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion IHP/IDE/CodeGen/ApplicationGenerator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,11 @@ generateGenericApplication applicationName =
<> " <script src=\"/vendor/popper.min.js\"></script>\n"
<> " <script src=\"/vendor/bootstrap.min.js\"></script>\n"
<> " <script src=\"/vendor/flatpickr.js\"></script>\n"
<> " <script src=\"/helpers.js\"></script>\n"
<> " <script src=\"/vendor/morphdom-umd.min.js\"></script>\n"
<> " <script src=\"/vendor/turbolinks.js\"></script>\n"
<> " <script src=\"/vendor/turbolinksInstantClick.js\"></script>\n"
<> " <script src=\"/vendor/turbolinksMorphdom.js\"></script>\n"
<> " <script src=\"/helpers.js\"></script>\n"
<> " <script src=\"/ihp-auto-refresh.js\"></script>\n"
<> " |]\n"
<> "\n"
Expand Down

0 comments on commit 066edfc

Please sign in to comment.