Unified Vuetify utilities for Vite and Nuxt.
This monorepo has been created due to the existing limitations when using vite-plugin-vuetify/webpack-plugin-vuetify and the new features added in Vue 3.5 and Nuxt 3.16: Vue Lazy Hydration and Nuxt 3. Check the comparison table for more details.
@unvuetify is an alternative to vite-plugin-vuetify, you can still use vite-plugin-vuetify or webpack-plugin-vuetify: the packages in this monorepo have been created to provide support for Vite and Nuxt 3 applications, and to provide a more flexible and extensible API via unplugin-vue-components and unplugin-auto-import/unimport.
Vuetify prefixThere are a lot of packages/modules in this repository, our suggestion is to use the following packages when using:
@unvuetify/unimport-presets for composables and directives presets via unplugin-auto-import@unvuetify/unplugin-vue-components-resolvers resolvers for components via unplugin-vue-components@unvuetify/vite-styles-plugin for styles@unvuetify/nuxt-utils via Nuxt module using configureVuetify function@unvuetify/nuxt-utils via Nuxt module using configureVuetify function@unvuetify/nuxt-i18n-utils via Nuxt module using configureI18n functionYou can open @unvuetify monorepo in StackBlitz:
[!WARNING]
@nuxt/fontsdependency removed andsettings.scssfiles updated to run Nuxt playgrounds when running at StackBlitz.
or just play with individual playgrounds:
[!WARNING]
@nuxt/fontsdependency removed andsettings.scssfile updated when running Nuxt playgrounds at StackBlitz.
| Example | Source | Playground |
|---|---|---|
basic-nuxt |
GitHub | |
basic-resolvers |
GitHub | |
basic-unimport |
GitHub | |
nuxt-i18n |
GitHub | |
prefix-nuxt |
GitHub | |
prefix-resolvers |
GitHub | |
prefix-unimport |
GitHub |
[!NOTE]
unimportrequires a patch to support prefixing Vuetify directives in Nuxt, fixed inunimport v5.0.1release: check https://github.com/unjs/unimport/pull/447.
[!NOTE]
Nuxt 3.16.2 requires a patch to support Vue Lazy Hydration, fixed in Nuxt 3.17.0: check https://github.com/nuxt/nuxt/pull/31649.
| Feature / Package | vite-plugin-vuetify | webpack-plugin-vuetify | styles[1] | resolvers[2] | presets[3] | Nuxt[4] |
|---|---|---|---|---|---|---|
| auto-import composables | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ |
| auto-import components | ✅ | ✅ | ❌ | ✅ | ✅[5] | ✅ |
| auto-import directives | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| auto-import labs components | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| sass/scss variables | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ |
| sass/scss variables with Vite/Nuxt 3 SSR | ✅[6] | ❓[7] | ✅ | ❌ | ❌ | ✅ |
| prefix composables, directives and components | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
| Nuxt Lazy Hydration | ❌ | ❌ | ❌ | ❌ | ✅[8] | ✅ |
| VSCode directives suggestions | ✅[9] | ❌ | ❌ | ❌ | ✅ | ✅ |
MIT License © 2025-PRESENT Joaquín Sánchez
@unvuetify/vite-styles-plugin. ↩︎
@unvuetify/unplugin-vue-components-resolvers. ↩︎
@unvuetify/unimport-presets. ↩︎
vuetify-nuxt-module will support all the features once updated using the packages in this monorepo.@unvuetify/nuxt-utils supports all the features, but it is not a drop-in replacement for vuetify-nuxt-module. ↩︎
@unvuetify/unimport-presets components utilities can be used with Nuxt components loader, won’t work with Vite. ↩︎
vite-plugin-vuetify will work, but we can get some warnings about missing sources. ↩︎
webpack-plugin-vuetify not tested with Nuxt 3 with or without SSR. ↩︎
@unvuetify/unimport-presets components utilities can be used with Nuxt components loader. ↩︎
Vuetify 3.9.0+ includes GlobalDirectives in the Vue module augmentation ↩︎