diff --git a/assets/app.js b/assets/app.js index c0becb8..acf7b09 100644 --- a/assets/app.js +++ b/assets/app.js @@ -1,2 +1,5 @@ import './styles/app.css'; import './vendor/bootstrap/dist/css/bootstrap.min.css' + +import 'bootstrap'; +import 'htmx.org'; diff --git a/importmap.php b/importmap.php index 79c546a..4749f45 100644 --- a/importmap.php +++ b/importmap.php @@ -12,19 +12,12 @@ * The "importmap:require" command can be used to add new entries to this file. */ return [ - 'app' => [ - 'path' => './assets/app.js', - 'entrypoint' => true, - ], - '@hotwired/stimulus' => [ - 'version' => '3.2.2', - ], - '@symfony/stimulus-bundle' => [ - 'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js', - ], - '@hotwired/turbo' => [ - 'version' => '7.3.0', - ], + 'app' => ['path' => './assets/app.js', 'entrypoint' => true], + + 'htmx.org' => ['version' => '2.0.6'], + + 'bootstrap' => ['version' => '5.3.8'], + '@popperjs/core' => ['version' => '2.11.8'], 'bootstrap/dist/css/bootstrap.min.css' => [ 'version' => '5.3.8', 'type' => 'css',