B
B
BonBon Slick2020-02-10 16:31:52
Vue.js
BonBon Slick, 2020-02-10 16:31:52

How to include material design + font awesome icons in nuxt + vuetify?

How to properly configure both icon options?
1 - https://vuetifyjs.com/en/customization/icons#insta...
2 - https://github.com/anteriovieira/nuxt-material-des...

/*
     ** vuetify module configuration
     ** https://github.com/nuxt-community/vuetify-module
     */
    vuetify:      {
         //   icons: {
       //         iconfont: 'mdi', // это дефолтные
      //      },
        defaultAssets:   {
            icons: 'fa', // тут можно выбрать один из, но как  использовать 2 варианта?
        },
    },


iconfont: {
            'fa': '',
            'mdi': '',
        },
        icons: {
            'fa': '',
            'mdi': '',
        },
        iconfont:  ['fa', 'mdi'],
        icons:  ['fa', 'mdi'],
     defaultAssets: {
            icons: [
                'fa',
                'mdi',
            ],
        },

All options above are non-working.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question