Enable turbo (without Drive)

This commit is contained in:
2023-12-03 23:27:10 +01:00
parent 761aad358a
commit 8c6d296021
8 changed files with 27 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
//= link_tree ../images
//= link_directory ../stylesheets .css
//= link_tree ../../javascript .js
//= link_tree ../../../vendor/javascript .js

View File

@@ -0,0 +1,3 @@
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
import "@hotwired/turbo-rails"
Turbo.session.drive = false

View File

@@ -7,6 +7,7 @@
<%= csp_meta_tag %>
<%= stylesheet_link_tag "application" %>
<%= javascript_importmap_tags %>
</head>
<body>