Add font preloading

This commit is contained in:
Hubert Van De Walle 2020-05-08 14:08:47 +02:00
parent 4a21f4fe3a
commit f0122373cc

View File

@ -23,7 +23,16 @@ export default {
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