N
Nuxt11mo ago
Gosu

How can I load fonts only in specific pages?

I'm implementing a new module for my project, this module is going to use two fonts. But I don't want to load these fonts on my nuxt.config.ts because this loads the fonts on all pages. How can I load fonts only in specific pages? I already tried with useHead({ link: [{ ... }] }) But this doesn't add the link to the head tag to load the font
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?