Vize

Getting Started

Add Vize to your Vue 3 app with Vite+. Keep compilation, Vue linting, formatting, and type-checking settings in vite.config.ts. Vize is under active development; review the support status before adoption.

1. Install the integration

From an existing Vue project with Vite+ installed:

vp install -D @vizejs/vite-plugin

The integration uses your project's Vite+ version (0.2.3 or newer). For ordinary Vite, use the Vite plugin migration. For Nuxt, use the Nuxt integration.

2. Update vite.config.ts

The Vite+ helper adds Vize's compiler and native check tasks. Remove the old Vue plugin import and vue() from plugins:

import { defineConfig } from "@vizejs/vite-plugin/vite-plus";

export default defineConfig({});

Keep existing aliases, server settings, tests, and unrelated plugins. The migration guide shows the exact before/after diff and how to carry supported Vue compiler options across.

3. Build and check your app

vp dev
vp build
vp run check

vp run check runs Vize's Vue type checker, linter, and formatter alongside Oxlint and Oxfmt. Use focused tasks while working:

vp run typecheck
vp run lint
vp run fmt:check

To apply lint fixes and formatting, run vp run check -- --fix.

Use vp run for combined Vize tasks. Built-in vp check, vp lint, and vp fmt run Vite+'s own tools. If a check script already exists, Vize preserves it and generates vize:check; run vp run vize:check. The same rule applies to existing lint, fmt, and typecheck scripts. See task names and overrides.

Choose your next step

Use Vize without Vite+

The standalone CLI provides vize lint, vize fmt, and vize check. Its settings belong in vize.config.ts; see standalone configuration.

For an interactive setup of an existing Vite, Vite+, or Nuxt project, preview proposed changes with vpx vize init --dry-run, then run vpx vize init to choose features. Project Setup explains detection, flags, and editing limits.