[Vuejs]-Preloading fonts with <link> tag in Nuxt.js app

1👍

maybe you can put you font file under static folder with Nuxt 2


first, put your font file in /static folder in your project

then you can use relative path in your <link> href

<link rel="preload" href="/fonts/SoDoSans-Regular.woff" as="font" type="font/woff" crossorigin>

Leave a comment