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, notvp check. The built-invp check,vp lintandvp fmtrun 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
- Type-check Vue files with the content mapper. TypeScript 7.1 and tsrs both run it. The commands are in Type Checking.
- Configure a rule or compiler option.
- Migrate existing tools with complete before/after examples.
- Keep ESLint, Prettier, Babel, tsserver, or your current editor and add only the Vize integration you need.
- Understand a lint diagnostic with bad and good Vue examples.
- Try Vapor Mode one component at a time.
- Explore components with recipes and the component reference.
- Preview your components with Musea art files and the gallery.
- Set up your editor for VS Code, Zed, Neovim and more.
- Use the JavaScript APIs through JSR from Node, Deno or Bun.
Note
The CLI, Vite integration and editor share
vue:settings invite.config.*and use the TypeScript project andvueCompilerOptionsfromtsconfig.json. Dedicatedvize.config.*files and top-levelvize: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.