Init new rails app with Tailwind CSS

This commit is contained in:
2024-07-28 18:50:55 +02:00
commit 3103acaed7
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"