[Vuejs]-Unknown custom element: <v-app> when use vuetify components

0👍

The Vuetify docs explain how to set this up with webpack, which is what it looks like you’re using.

src/plugins/vuetify.js

import Vue from 'vue'
import Vuetify from 'vuetify'
import 'vuetify/dist/vuetify.min.css'

Vue.use(Vuetify)

const opts = {}

export default new Vuetify(opts)

Your main.js is fine.

Alternatively, if you have the Vue CLI installed, then you can simply run:

vue add vuetify

Leave a comment