Skip to content

API

ogygia/plugin/css

CSS for pages a plugin renders 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.

import { … } from 'ogygia/plugin/css';

Exports componentCssHead

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>;