Install Turbo

This commit is contained in:
Trevor Vallender 2023-08-15 14:56:41 +01:00
parent 0a1f918c41
commit 0c2868560b
2 changed files with 2 additions and 0 deletions

View File

@ -1 +1,2 @@
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
import "@hotwired/turbo-rails"

View File

@ -1,3 +1,4 @@
# Pin npm packages by running ./bin/importmap
pin "application", preload: true
pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true