remove bootstrap, popper, perfect-scrollbar, and smooth-scrollbar from javascript block and added to importmap
This commit is contained in:
parent
ff50c96b74
commit
5b0ededa27
@ -32,4 +32,42 @@ return [
|
||||
'@symfony/ux-leaflet-map' => [
|
||||
'path' => './vendor/symfony/ux-leaflet-map/assets/dist/map_controller.js',
|
||||
],
|
||||
'bootstrap' => [
|
||||
'version' => '5.3.3',
|
||||
],
|
||||
'@popperjs/core' => [
|
||||
'version' => '2.11.8',
|
||||
],
|
||||
'bootstrap/dist/css/bootstrap.min.css' => [
|
||||
'version' => '5.3.3',
|
||||
'type' => 'css',
|
||||
],
|
||||
'perfect-scrollbar' => [
|
||||
'version' => '1.5.6',
|
||||
],
|
||||
'perfect-scrollbar/css/perfect-scrollbar.min.css' => [
|
||||
'version' => '1.5.6',
|
||||
'type' => 'css',
|
||||
],
|
||||
'smooth-scrollbar' => [
|
||||
'version' => '8.8.4',
|
||||
],
|
||||
'tslib' => [
|
||||
'version' => '1.14.1',
|
||||
],
|
||||
'core-js/es/map' => [
|
||||
'version' => '3.33.2',
|
||||
],
|
||||
'core-js/es/set' => [
|
||||
'version' => '3.33.2',
|
||||
],
|
||||
'core-js/es/weak-map' => [
|
||||
'version' => '3.33.2',
|
||||
],
|
||||
'core-js/es/array/from' => [
|
||||
'version' => '3.33.2',
|
||||
],
|
||||
'core-js/es/object/assign' => [
|
||||
'version' => '3.33.2',
|
||||
],
|
||||
];
|
||||
|
@ -11,8 +11,8 @@
|
||||
</title>
|
||||
|
||||
<!-- Simple CSS
|
||||
<link
|
||||
rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">-->
|
||||
<link
|
||||
rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">-->
|
||||
|
||||
<!-- Fonts and icons -->
|
||||
<link
|
||||
@ -35,10 +35,6 @@
|
||||
|
||||
{% block javascripts %}
|
||||
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
|
||||
<script src="{{ asset('js/core/popper.min.js') }}"></script>
|
||||
<script src="{{ asset('js/core/bootstrap.min.js') }}"></script>
|
||||
<script src="{{ asset('js/plugins/perfect-scrollbar.min.js') }}"></script>
|
||||
<script src="{{ asset('js/plugins/smooth-scrollbar.min.js') }}"></script>
|
||||
<script>
|
||||
var win = navigator.platform.indexOf('Win') > -1;
|
||||
if (win && document.querySelector('#sidenav-scrollbar')) {
|
||||
|
Loading…
Reference in New Issue
Block a user