diff --git a/client.d.ts b/client.d.ts index a944609..3fd4ef5 100644 --- a/client.d.ts +++ b/client.d.ts @@ -4,5 +4,6 @@ declare module 'unfonts.css' { } declare module 'unplugin-fonts/head' { - export const links: string[] + import { HtmlTagDescriptor } from "vite" + export const links: HtmlTagDescriptor[] } diff --git a/examples/astro/src/pages/index.astro b/examples/astro/src/pages/index.astro index 639205e..8a6cf42 100644 --- a/examples/astro/src/pages/index.astro +++ b/examples/astro/src/pages/index.astro @@ -2,12 +2,16 @@ import Unfont from 'unplugin-fonts/astro/component.astro'; --- -
+ + +