2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00
Files
bootstrap/site/src/components/Scripts.astro
T
Julien Déramond a8ab19955b Docs: migration from Hugo to Astro (#41251)
Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2025-04-15 18:37:47 +02:00

18 lines
394 B
Plaintext

---
import { getVersionedBsJsProps } from '@libs/bootstrap'
import type { Layout } from '@libs/layout'
interface Props {
layout: Layout
}
const { layout } = Astro.props
---
<script is:inline {...getVersionedBsJsProps()}></script>
<script src="../assets/application.js"></script>
<script src="../assets/search.js"></script>
{layout === 'docs' && <script src="../assets/stackblitz.js" />}