Restructure JS packages folders
This commit is contained in:
+3
-3
@@ -4,12 +4,12 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="css/app.css" />
|
||||
<link rel="shortcut icon" type="image/png" href="/img/favicon.png">
|
||||
<link rel="stylesheet" href="webgis/js/vendor/spotlight.js/dist/css/spotlight.min.css" />
|
||||
<link rel="stylesheet" href="/vendor/spotlight.js/dist/css/spotlight.min.css" />
|
||||
<title>Carta Archeologica Isola di Capri</title>
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"@hotwired/stimulus": "./webgis/js/vendor/@hotwired/stimulus/dist/stimulus.js"
|
||||
"@hotwired/stimulus": "./vendor/@hotwired/stimulus/dist/stimulus.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -560,7 +560,7 @@
|
||||
<script type="module">
|
||||
import { Application } from '@hotwired/stimulus';
|
||||
import ModalController from './webgis/js/controllers/modal_controller.js';
|
||||
import Spotlight from './webgis/js/vendor/spotlight.js/src/js/spotlight.js';
|
||||
import Spotlight from './vendor/spotlight.js/src/js/spotlight.js';
|
||||
|
||||
window.Stimulus = Application.start();
|
||||
Stimulus.register("modal", ModalController);
|
||||
|
||||
Reference in New Issue
Block a user