You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by apuatcfbd May 16, 2024
I've an existing Vue2 project which was created using create-vue.
As the project is in vue2, to be able to use Vuetify I need to use v2. But the question is how to add that? In Vuetify v2 docs this is missing.
Any help would be highly appreciated :)
With this setup project works in dev mode pnpm dev but fails (white screen) in production (build:*) & prev with following errors in console.
index-34a9a5a2.js:125 [Vuetify] Multiple instances of Vue detected
See https://github.com/vuetifyjs/vuetify/issues/4068
If you're seeing "$attrs is readonly", it's caused by this
index-34a9a5a2.js:96 Error: Vuetify is not properly initialized, see https://v2.vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object
at Z.beforeCreate (index-34a9a5a2.js:97:6158)
at zi (index-34a9a5a2.js:96:19178)
at vi (index-34a9a5a2.js:96:26898)
at C._init (index-34a9a5a2.js:96:41876)
at new Z (index-34a9a5a2.js:96:39432)
at gA (index-34a9a5a2.js:5:35798)
at init (index-34a9a5a2.js:5:34639)
at g (index-34a9a5a2.js:5:52280)
at b (index-34a9a5a2.js:5:51896)
at m.__patch__ (index-34a9a5a2.js:5:56588)
index-34a9a5a2.js:96 TypeError: Cannot read properties of undefined (reading 'theme')
at Z.isDark (index-34a9a5a2.js:97:6069)
at ei.get (index-34a9a5a2.js:96:24880)
at ei.evaluate (index-34a9a5a2.js:96:25759)
at Z.isDark (index-34a9a5a2.js:96:38686)
at Z.<anonymous> (index-34a9a5a2.js:96:24733)
at ei.get (index-34a9a5a2.js:96:24880)
at new ei (index-34a9a5a2.js:96:24819)
at C.$watch (index-34a9a5a2.js:96:42671)
at bl (index-34a9a5a2.js:96:38870)
at index-34a9a5a2.js:96:38365
index-34a9a5a2.js:96 TypeError: Cannot read properties of undefined (reading 'rtl')
at Z.render (index-34a9a5a2.js:97:6484)
at C._render (index-34a9a5a2.js:96:44826)
at Z.N (index-34a9a5a2.js:96:75486)
at ei.get (index-34a9a5a2.js:96:24880)
at new ei (index-34a9a5a2.js:96:24819)
at C (index-34a9a5a2.js:96:75500)
at ht.$mount (index-34a9a5a2.js:96:75711)
at init (index-34a9a5a2.js:5:34650)
at g (index-34a9a5a2.js:5:52280)
at b (index-34a9a5a2.js:5:51896)
```</div>
The text was updated successfully, but these errors were encountered:
Discussed in #19825
Originally posted by apuatcfbd May 16, 2024
I've an existing Vue2 project which was created using create-vue.
As the project is in vue2, to be able to use Vuetify I need to use v2. But the question is how to add that? In Vuetify v2 docs this is missing.
Any help would be highly appreciated :)
My Try:
Tried this
package.json
With this setup project works in dev mode
pnpm dev
but fails (white screen) in production (build:*
) &prev
with following errors in console.The text was updated successfully, but these errors were encountered: