Init new rails app with Tailwind CSS

This commit is contained in:
David Böhm
2024-07-27 11:02:26 +02:00
commit 7cdf7e4427
86 changed files with 1614 additions and 0 deletions

7
config/importmap.rb Normal file
View File

@@ -0,0 +1,7 @@
# Pin npm packages by running ./bin/importmap
pin "application"
pin "@hotwired/turbo-rails", to: "turbo.min.js"
pin "@hotwired/stimulus", to: "stimulus.min.js"
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js"
pin_all_from "app/javascript/controllers", under: "controllers"