diff --git a/examples/with-vuetify/css/app.styl b/examples/with-vuetify/css/app.styl index 0b24ada921..cd1c8f9dc8 100644 --- a/examples/with-vuetify/css/app.styl +++ b/examples/with-vuetify/css/app.styl @@ -1 +1,2 @@ +@require './vendor/material-icons.styl' @require './vendor/vuetify.styl' diff --git a/examples/with-vuetify/css/vendor/material-icons.styl b/examples/with-vuetify/css/vendor/material-icons.styl new file mode 100644 index 0000000000..a063664368 --- /dev/null +++ b/examples/with-vuetify/css/vendor/material-icons.styl @@ -0,0 +1,21 @@ +@font-face { + font-family: 'Material Icons'; + font-style: normal; + font-weight: 400; + src: local('Material Icons'), local('MaterialIcons-Regular'), url(https://fonts.gstatic.com/s/materialicons/v22/2fcrYFNaTjcS6g4U3t-Y5UEw0lE80llgEseQY3FEmqw.woff2) format('woff2'); +} +.material-icons { + font-family: 'Material Icons'; + font-weight: normal; + font-style: normal; + font-size: 24px; + line-height: 1; + letter-spacing: normal; + text-transform: none; + display: inline-block; + white-space: nowrap; + word-wrap: normal; + direction: ltr; + -webkit-font-feature-settings: 'liga'; + -webkit-font-smoothing: antialiased; +} diff --git a/examples/with-vuetify/nuxt.config.js b/examples/with-vuetify/nuxt.config.js index 9edc6811ef..a01ebf437d 100644 --- a/examples/with-vuetify/nuxt.config.js +++ b/examples/with-vuetify/nuxt.config.js @@ -11,8 +11,7 @@ module.exports = { ], head: { link: [ - { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Roboto' }, - { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' } + { rel: 'preload', as: 'style', href: 'https://fonts.googleapis.com/css?family=Roboto' } ] } }