fix lightning
This commit is contained in:
parent
496f2a5b43
commit
3823407d49
@ -1,5 +1,6 @@
|
||||
---
|
||||
import BaseLayout from '../layouts/BaseLayout.astro';
|
||||
import registerUrl from '../utils/register-simple-boost.ts?url';
|
||||
---
|
||||
|
||||
<BaseLayout title="Über das Projekt" description="ForensicPathways - Ein Projekt für die Seminargruppe CC24-w1">
|
||||
@ -254,7 +255,7 @@ import BaseLayout from '../layouts/BaseLayout.astro';
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<script type="module" src={'/src/utils/simple-boost.ts'}></script>
|
||||
<script type="module" src={registerUrl}></script>
|
||||
|
||||
</BaseLayout>
|
||||
|
||||
|
2
src/utils/register-simple-boost.ts
Normal file
2
src/utils/register-simple-boost.ts
Normal file
@ -0,0 +1,2 @@
|
||||
// src/utils/register-simple-boost.ts
|
||||
import 'simple-boost'; // registers the web component
|
@ -1,2 +0,0 @@
|
||||
// src/scripts/simple-boost.ts
|
||||
import 'simple-boost'; // registers <simple-boost>
|
Loading…
x
Reference in New Issue
Block a user