I'm building a site for a type designer and I want to be able to load each font only when the user navigates to that page. This is the code for the head, but I can't seem to load the font or use it:
Hey, I can see the font request in the Network tab, but so for I’ve only gotten it to work when I create a fonts.css file and include it in the nuxt.config.js with the following code
I was finally able to figure it out, by placing that code inside the heads style attribute, so I can access the data from Prismic and making it dynamic: