N
Nuxt2y ago
Wontolla

Preload Assets from nuxt.config

Hi guys. This line of code doesn't work. How can i access asset frolder from nuxt.config?
export default defineNuxtConfig({
app: {
head: {
link: [
{
key: 'preload-font-family-inter',
rel: 'preload',
href: '/assets/fonts/Inter.woff2',
as: 'font',
type: 'font/woff2'
}
]
}
},
})
export default defineNuxtConfig({
app: {
head: {
link: [
{
key: 'preload-font-family-inter',
rel: 'preload',
href: '/assets/fonts/Inter.woff2',
as: 'font',
type: 'font/woff2'
}
]
}
},
})
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server