./bin/rails stimulus:install

This commit is contained in:
Ryan W
2021-09-26 15:23:45 -07:00
parent bea88d4d33
commit eb78dac6cc
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -4,3 +4,6 @@
# Use node modules from a JavaScript CDN by running ./bin/importmap
pin "application"
pin "@hotwired/stimulus", to: "stimulus.js"
pin "@hotwired/stimulus-importmap-autoloader", to: "stimulus-importmap-autoloader.js"
pin_all_from "app/javascript/controllers", under: "controllers"