Upon installing Vuetify, I encountered an error in the console. My webpack version is v3.6
Uncaught TypeError: Cannot read property 'extend' of undefined
at Module../src/mixins/themeable/index.ts (index.ts:21)
at __webpack_require__ (bootstrap:19)
at Module../src/components/VApp/VApp.ts (vuetify.js:391)
at __webpack_require__ (bootstrap:19)
at Module../src/components/VApp/index.ts (index.ts:1)
at __webpack_require__ (bootstrap:19)
at Module../src/components/index.ts (index.ts:1)
at __webpack_require__ (bootstrap:19)
at Module../src/index.ts (vuetify.js:32032)
at __webpack_require__ (bootstrap:19)
./src/mixins/themeable/index.ts @ index.ts:21
__webpack_require__ @ bootstrap:19
./src/components/VApp/VApp.ts @ vuetify.js:391
__webpack_require__ @ bootstrap:19
./src/components/VApp/index.ts @ index.ts:1
__webpack_require__ @ bootstrap:19
./src/components/index.ts @ index.ts:1
__webpack_require__ @ bootstrap:19
./src/index.ts @ vuetify.js:32032
__webpack_require__ @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ bootstrap:83
webpackUniversalModuleDefinition @ universalModuleDefinition:9
(anonymous) @ universalModuleDefinition:10
Has anyone else faced a similar issue? This is how I included vuetify as a plugin:
// 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)
I then imported it into my main.js file
import Vue from 'vue'
import App from './App'
import router from './router'
import { store } from './store/store'
import BootstrapVue from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
import vuetify from '@/plugins/vuetify'
Vue.use(BootstrapVue)
Vue.config.productionTip = true
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
store,
vuetify,
components: { App },
template: '<App/>'
})
Any assistance on this matter would be highly appreciated