By default Vuetify includes Google font "Roboto" in the head of the static generated page from Nuxt. How I can remove this font from the head? Is there an option for this? I would like to save this unnecessary request...
By default Vuetify includes Google font "Roboto" in the head of the static generated page from Nuxt. How I can remove this font from the head? Is there an option for this? I would like to save this unnecessary request...
if you are using Nuxt + vuetify , do these:
buildModules: [
'@nuxtjs/vuetify'
],
vuetify: {
customVariables: ['~/assets/variables.scss'], // vuetify var styles.
optionsPath: './vuetify.options.js', // vuetify option like theme.
defaultAssets: false,
treeShake: true
}
When you add defaultAssets: false, it delete the builtin font & its request. then you can add your font locally.
more detail link: defaultAssets