Upgrade to Rails 7, new JS build setup

This commit is contained in:
2022-02-12 13:55:56 -06:00
parent 836bd0a977
commit c33637003e
18 changed files with 279 additions and 29625 deletions

7
config/importmap.rb Normal file
View File

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

View File

@@ -26,7 +26,7 @@ authorizations: &AUTHORIZATIONS
## Environment
development:
host: 192.168.33.10
host: 192.168.56.5
port: 389
attribute: cn
base: ou=kosmos.org,cn=users,dc=kosmos,dc=org