add leaflet libraries to importmap

This commit is contained in:
Ryan Prather 2024-12-22 23:08:02 +00:00
parent c0a1929892
commit 55b1ef4f3d

View File

@ -22,7 +22,14 @@ return [
'@symfony/stimulus-bundle' => [ '@symfony/stimulus-bundle' => [
'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js', 'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
], ],
'@hotwired/turbo' => [ 'leaflet' => [
'version' => '7.3.0', 'version' => '1.9.4',
],
'leaflet/dist/leaflet.min.css' => [
'version' => '1.9.4',
'type' => 'css',
],
'@symfony/ux-leaflet-map' => [
'path' => './vendor/symfony/ux-leaflet-map/assets/dist/map_controller.js',
], ],
]; ];