Installation
Get started with Vuetify Zero by installing it in your Vue 3 project.Requirements
Before installing, ensure your environment meets these requirements:Node.js >= 22
Node.js >= 22
Vuetify Zero requires Node.js version 22 or higher. Check your version:If you need to upgrade, download the latest LTS version from nodejs.org.
Vue >= 3.5.0
Vue >= 3.5.0
Vuetify Zero is built for Vue 3.5+ and takes advantage of the latest Vue features like
defineModel and improved TypeScript support.package.json
Package Manager (Optional)
Package Manager (Optional)
While not required, using pnpm >= 10.6 is recommended for monorepo projects:
Install the Package
Choose your preferred package manager to install Vuetify Zero:The
@latest tag ensures you get the most recent version. Since the package is pre-1.0, APIs may change between minor versions.Verify Installation
Verify that Vuetify Zero is installed correctly by checking yourpackage.json:
package.json
App.vue
Import Options
Vuetify Zero provides multiple import strategies to optimize your bundle size:Full Import
Import everything from the main entry point:Subpath Imports (Recommended)
Use tree-shakeable subpath exports for optimal bundle size:TypeScript Configuration
For the best TypeScript experience, ensure yourtsconfig.json includes:
tsconfig.json
Vuetify Zero is fully typed and exports all necessary TypeScript definitions. No separate
@types package is needed.Vite Configuration
If you’re using Vite, no special configuration is required. Vuetify Zero works out of the box:vite.config.ts
Nuxt Configuration
For Nuxt 3 projects, Vuetify Zero works with auto-imports:nuxt.config.ts
pages/index.vue
Global Plugin Setup (Optional)
While Vuetify Zero components work standalone, you can configure global plugins for theme, locale, and other features:main.ts
Troubleshooting
Module not found: @vuetify/v0
Module not found: @vuetify/v0
This usually means the package isn’t installed. Try:
Type errors with Vue 3.5 features
Type errors with Vue 3.5 features
Ensure you’re using Vue 3.5 or higher:
Build errors in production
Build errors in production
Make sure your build tool supports ESM. For Vite, update to the latest version:
SSR/Nuxt hydration mismatches
SSR/Nuxt hydration mismatches
Use the
useHydration composable for SSR-safe operations:Next Steps
Now that Vuetify Zero is installed, you’re ready to build your first component:Quickstart Guide
Follow the quickstart guide to build your first component with Vuetify Zero