Use font-display: swap on Roboto and Material Icons fonts

This commit is contained in:
Thog 2020-02-09 21:49:05 +01:00
parent 698bb39dd1
commit 06fc1cd939

View file

@ -3,12 +3,11 @@ import 'vuetify/dist/vuetify.min.css'
import DefaultLayout from '~/layouts/Default.vue'
import SEO from '~/components/SEO.vue'
export default function (Vue, { appOptions, router, head }) {
// First inject custom CSS needed
head.link.push({
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons'
href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500|Material+Icons&display=swap'
})
head.link.push({