Add font preloading
This commit is contained in:
parent
4a21f4fe3a
commit
f0122373cc
@ -23,7 +23,16 @@ export default {
|
|||||||
content: process.env.npm_package_description || '',
|
content: process.env.npm_package_description || '',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
|
link: [
|
||||||
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
||||||
|
{
|
||||||
|
rel: 'preload',
|
||||||
|
href: '/fonts/roboto-v20-latin-regular.woff2',
|
||||||
|
as: 'font',
|
||||||
|
type: 'font/woff2',
|
||||||
|
crossorigin: 'anonymous',
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
** Customize the progress-bar color
|
** Customize the progress-bar color
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user