fonts preload
This commit is contained in:
parent
fe30621227
commit
87c05b1cb9
@ -11,6 +11,35 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
link: [
|
link: [
|
||||||
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
||||||
|
// Fonts preloaden
|
||||||
|
{
|
||||||
|
rel: 'preload',
|
||||||
|
href: '/assets/fonts/woff2/Montserrat-Light.woff2',
|
||||||
|
as: 'font',
|
||||||
|
type: 'font/woff2',
|
||||||
|
crossorigin: 'anonymous',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rel: 'preload',
|
||||||
|
href: '/assets/fonts/woff2/Montserrat-Medium.woff2',
|
||||||
|
as: 'font',
|
||||||
|
type: 'font/woff2',
|
||||||
|
crossorigin: 'anonymous',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rel: 'preload',
|
||||||
|
href: '/assets/fonts/woff2/Comfortaa-Light.woff2',
|
||||||
|
as: 'font',
|
||||||
|
type: 'font/woff2',
|
||||||
|
crossorigin: 'anonymous',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rel: 'preload',
|
||||||
|
href: '/assets/fonts/woff2/Comfortaa-Bold.woff2',
|
||||||
|
as: 'font',
|
||||||
|
type: 'font/woff2',
|
||||||
|
crossorigin: 'anonymous',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
charset: 'utf-16',
|
charset: 'utf-16',
|
||||||
viewport: 'width=device-width, initial-scale=1, maximum-scale=5',
|
viewport: 'width=device-width, initial-scale=1, maximum-scale=5',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user