I'm on nuxt 2.15.8 , nuxt/vuetify 1.12.1 , electron 10.1.5 , electron-builder 22.9.1 , electron-serve 1.0.0 and electron-store 6.0.1
I'm trying to make a part of my app into desktop app by electron.js . For maintenance reasons, I,m importing needed components, plugings and mixins from my main project, but I get errors on loading them! for e.g. v-icon
gives me TypeError: Cannot read property 'icons' of undefined
. It only happens when importing from outside of renderer folder of electron . Is that because it can't render vuetify outside of its renderer folder?? is there any way for that??
BTW I'm using Nuxtron for integrating Nuxt with electron. I'have test with a fresh nuxtron and imported a component with v-icon
in it from outside project folder and it worked!! but still getting error in my main project. I even removed everything inside imported component except a v-icon
element and still gets error.
UPDATE As I tested , it only gives error when the component is inside another nuxt project!! But why!!??