简体   繁体   English

如何更新 vuetify mdi 图标? (Nuxt.js)

[英]How to update vuetify mdi icons ? (Nuxt.js)

I use Vuetify on Nuxt.js. But I can't use some material design icons.我在 Nuxt.js 上使用 Vuetify。但是我不能使用一些材料设计图标。

For example <v-icon>mdi-cog</v-icon> shows blank.例如<v-icon>mdi-cog</v-icon>显示空白。 But other icons work well.但其他图标效果很好。

nuxt.config.js nuxt.config.js

  buildModules: [
    '@nuxtjs/vuetify',
  ],

  vuetify: {
    customVariables: ['~/assets/variables.scss'],
  },

Is it because I have to update it?是因为我必须更新它吗?

And how to update it?以及如何更新它?

if i don't look wrong, there is not mdi-cog icon, try with mdi-cogs (with the "s" at the end).如果我没看错,没有 mdi-cog 图标,请尝试使用 mdi-cogs(末尾有“s”)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM