M
M
mazahaler2019-10-10 22:41:02
Vue.js
mazahaler, 2019-10-10 22:41:02

How to import only the required Vuetify components?

Hello, how can I import only the required Vuetify components?
I tried this, but it seems to pull up all the components.

import '@fortawesome/fontawesome-free/css/all.css'
import Vue from 'vue';
import Vuetify, {VToolbar, VBtn, VIcon, VFooter, VRow, VCol} from 'vuetify/lib';

Vue.use(Vuetify, {
    components: {VToolbar, VBtn, VIcon, VFooter, VRow, VCol}
})
const opts = {
    icons: {
        iconfont: 'fa',
    },
}
export default new Vuetify(opts)

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