@ogygia/core · API
@ogygia/core/plugin/css
componentCssHead, the CSS head tags for the components a page rendered outside Kit's routes.
On this page
This page is generated from the package’s own .d.ts files on every build, so the signatures, descriptions and examples below always match the source. ogygia/plugin/css re-exports the same module. Component CSS explains when a plugin needs it.
Exports componentCssHead
import { … } from '@ogygia/core/plugin/css';componentCssHead
function
Head tags for the components ONE render places (a layout chain + its page or error component): each component's whole-tree CSS, linked once per request.
function componentCssHead(components: readonly unknown[]): Promise<string>;