vuetify-loader icon indicating copy to clipboard operation
vuetify-loader copied to clipboard

[Vite & Nuxt] Vuetify plugin must be loaded after the vue plugin

Open brownsugar opened this issue 3 years ago • 1 comments

Hi, after updating this plugin from @vuetify/[email protected] to [email protected], it throws error message when starting Nuxt.

ERROR  Cannot start nuxt:  Vuetify plugin must be loaded after the vue plugin
image

I did add the configResolved setting in nuxt.config.ts according to this example code.

Reproduce link: https://codesandbox.io/s/dawn-sound-rtl8ig?file=/nuxt.config.ts:314-771

brownsugar avatar Jun 15 '22 14:06 brownsugar

https://github.com/nuxt/framework/discussions/1183#discussioncomment-1997354

KaelWD avatar Jun 15 '22 16:06 KaelWD

I am facing the same without nuxt 🤔 Screenshot 2022-09-07 at 7 38 00 PM

I am at latest alpha ~16~ 14

jd-solanki avatar Sep 07 '22 14:09 jd-solanki

vue 3.2.38, vuetify 3.0.0-beta.10 and vite-plugin-vuetify 1.0.0-alpha.15, same issue.

A workaround: comment out the three lines of code that throw the error.

image

TanixLu avatar Sep 07 '22 14:09 TanixLu

Upgrading to alpha 16 resolves the issue for me

jd-solanki avatar Sep 07 '22 14:09 jd-solanki

vue 3.2.38 has issue with avatar rendering, aren't you facing this: https://github.com/vuejs/core/issues/6573

jd-solanki avatar Sep 07 '22 14:09 jd-solanki

Upgrading to alpha 16 resolves the issue for me

Also works for me

TanixLu avatar Sep 07 '22 14:09 TanixLu

@brownsugar A nuxt example has been added on https://next.vuetifyjs.com/en/features/treeshaking/

@​everyone else #267

KaelWD avatar Sep 07 '22 15:09 KaelWD