Vize

Getting Started

Add Vize to your Vue 3 app with Vite+. Keep tool settings in vite.config.ts and the TypeScript project in tsconfig.json. Vize is under active development; review the support status before adoption.

Choose your setup

Your project Start with
Vue app on Vite+ The three steps below
Vue app on plain Vite Replace only the compiler
Nuxt Nuxt integration
Void (@void/vue) Void integration
Any project, terminal or CI only Use Vize without Vite+
Existing Oxlint setup Oxlint plugin
Keep ESLint, Prettier or Babel Existing tool integrations
Just the editor Language server

1. Install the integration

Run this in 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 helper adds Vize's compiler and native check tasks. Remove the old Vue plugin import and vue() from plugins; preserve aliases, server settings, tests and unrelated plugins. The migration guide shows complete before/after examples.

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

export default defineConfig({}).withVue({});

3. Build and check your app

vp dev
vp build
vp run lint
vp run fmt:check

Type-check .vue files with the content mapper. TypeScript 7.1 and tsrs share one tsconfig.json. tsrs is a drop-in: keep contentMappers and change the executable.

tsc --runExternalCode --noEmit -p tsconfig.json
tsrs --runExternalCode --noEmit -p tsconfig.json

The mapper entry and the vue-tsc replacement table are in Type Checking. vp run check runs the packaged checker together with lint and formatting. vp run typecheck is that checker alone.

Apply fixes with vp run check -- --fix.

Warning

Use vp run check, not vp check. The built-in vp check, vp lint and vp fmt run Vite+'s own tools and skip Vize's Vue checks.

If a script already exists, Vize preserves it and generates vize:<name>; see task names and overrides.

Choose your next step

Note

The CLI, Vite integration and editor share vue: settings in vite.config.* and use the TypeScript project and vueCompilerOptions from tsconfig.json. Dedicated vize.config.* files and top-level vize: settings are no longer supported; see the configuration guide for migration.

Use Vize without Vite+

Try lint and format with the standalone CLI on any Vue project without installing anything:

vpx vize lint src
vpx vize fmt --check src

For type checking, add the Vize content mapper and run TypeScript 7.1. tsrs is a drop-in of the same project:

tsc --runExternalCode --noEmit -p tsconfig.json
tsrs --runExternalCode --noEmit -p tsconfig.json

vpx vize check is the packaged checker. Run from the target package root and keep the TypeScript project in tsconfig.json. Native commands can share top-level vue settings in vite.config.*; see CLI configuration for discovery and its current scope.

Preview interactive setup with vpx vize init --dry-run, then run vpx vize init to select features. Project Setup explains detection and editing limits. Init uses project settings and defaults; it does not create a dedicated Vize config.