LoginSignup
6
2

More than 5 years have passed since last update.

Electron-VueでVuetifyを使用した際に「[Vuetify] Multiple instances of Vue detected」が発生する時の対処法

Posted at

Electron-VueにVuetifyを追加したときに、以下のようなErrorがconsoleに表示されました。
その対処法です。

スクリーンショット 2019-03-27 6.15.05.png

対処法

https://github.com/vuetifyjs/vuetify/issues/4068 に記載の通り
webpack.renderer.config.jsのwhiteListedModulesの定義にvuetifyを追加することで解消できます。

.electreon-vue/webpack.renderer.config.js
- let whiteListedModules = ['vue']
+ let whiteListedModules = ['vue', 'vuetify']
6
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
2