NuxtN
Nuxt16mo ago
AngeloK

@nuxt/fonts adobe

Anyone here using nuxt/fonts to load adobe fonts?

I'm setting my id of my adobe project in the nuxt config like described docs.

https://use.typekit.net/gqr4tpc.css This is my typekit link.

I'm getting an error: Could not produce font face declaration from adobe for font family ador-hairline.

Anyone got a clue?

  fonts: {
    families: [
      {
        name: "Gotham",
        provider: "local",
        weights: [400, 500],
        styles: ["normal"],
        subsets: ["latin"],
      },
      {
        name: "ador-hairline",
        provider: "adobe",
        weights: [500],
        styles: ["normal"],
      },
    ],
    adobe: {
      id: "gqr4tpc",
    },
  },
Was this page helpful?