FontRoutePreloads
The preload tags that belong to the routes matching a pattern.
The preload tags that belong to the routes matching a pattern.
Import#
ts
import type { FontRoutePreloads } from "@shadow-js/dusk/vite";
Signature#
ts
interface FontRoutePreloads {
/** The route glob (`/`, `/blog/**`). */
readonly pattern: string;
readonly preloads: readonly HeadTag[];
}
Members#
| Name | Type | Description |
|---|---|---|
pattern |
readonly pattern: string |
The route glob (/, /blog/**). |
preloads |
readonly preloads: readonly HeadTag[] |