Zero-config Nuxt Module for Vuetify
📖 Full documentation & guides
vuetify:registerModule module hook, or a dedicated vuetify.config fileRequires Vite, will not work with Webpack
vuetify is a peer dependency (Vuetify 3 or 4) — install it alongside the module:
npm install -D vuetify
npx nuxt module add vuetify-nuxt-module
vuetify-nuxt-moduleis strongly opinionated and has a built-in default configuration out of the box. You can use it without any configuration, and it will work for most use cases.
Add vuetify-nuxt-module module to nuxt.config.ts and configure it:
// Nuxt config file
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
modules: [
'vuetify-nuxt-module'
],
vuetify: {
moduleOptions: {
/* module specific options */
},
vuetifyOptions: {
/* vuetify options */
}
}
})
Read the 📖 documentation for a complete guide on how to configure and use this module.
Check out the types.
The virtual modules can be found in configuration.d.ts file.
MIT License © 2023-PRESENT Vuetify, LLC