mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
9 lines
322 B
Plaintext
9 lines
322 B
Plaintext
---
|
|
// Captures slot markup (typically <script>) into page-scripts; BaseLayout /
|
|
// DocsLayout emit it at the end of <body> via <PageScripts />.
|
|
// Registration is synchronous (a promise) — see page-scripts.ts.
|
|
import { addPageScript } from '@shared/lib/page-scripts';
|
|
|
|
addPageScript(Astro.slots.render('default'));
|
|
---
|