High-Performance Vue.js Toolchain in Rust
/viːz/: Named after Vizier + Visor + Advisor, a wise tool that sees through your code.
Documentation ・ Playground ・ Sponsor
Real World Testing — Wanted
▶ Watch the Real World Testing PV
Warning
Vize is experimental and in its Real World Testing phase — not a completely production-ready toolchain yet. Breaking changes and behavior that diverges from Vue are expected. Review the stability guide, production-readiness checklist, and support policy before adopting it.
Vize is a Rust-native toolchain for Vue. One shared parser powers compilation, linting, type-checking, formatting, and editor tooling, so the Vue workflow runs on the same core instead of a patchwork of disconnected tools.
It plugs into the tools you already use: @vizejs/vite-plugin for Vite, @vizejs/nuxt for Nuxt,
the vize package for project scripts, oxlint-plugin-vize for Oxlint, and
@vizejs/vite-plugin-musea for the component gallery.
| Your workflow | What Vize brings | Start here |
|---|---|---|
| Compile | Vue SFC compilation for Vite, with Nuxt integration | Vite · Nuxt |
| Check types | Script and template checks through tsrs or TypeScript 7.1, using Vize's Content Mapper |
Type checking |
| Lint | Vue, accessibility, SSR, and ecosystem rules; CLI and Oxlint integration | Static analysis |
| Format | Vue blocks, JavaScript, TypeScript, JSX, TSX, TSRX, JSON, and JSONC | Formatting |
| Edit | Diagnostics, completion, navigation, rename, and formatting through LSP and editor extensions | Language server |
Adopt each tool independently. Benchmarks show the measured workloads and conditions; the support status describes current scope.
SFC compile (15,000 files): 4.9× faster; Lint (15,000 files): 15.6× faster; Format (15,000 files): 35.6× faster; Vite build (1,000 files): 2.7× faster. Synthetic Linux workloads, source build at 70da12bb7dab (2026-12-02). Compiler, lint and format use the recorded single-thread configurations. Lint compares ESLint Vue recommended (API) with Vize ecosystem (CLI); rule sets and startup boundaries differ. Build rows retain the recorded configuration; Vite precompiles one full batch.
Slower in this run: Vite dev: component edit, hot-update hooks, Vite dev: shared type edit, hot-update hooks.
Full benchmarks: every row, dev-server edits, public npm results on Linux/macOS/Windows, and reproducible methodology. Type-check comparisons with differing diagnostics are withheld; results depend on the workload.
Vize is a toolchain you add to a Vue app. It does not scaffold the app itself. Pick the shortest path that matches your project; the docs have the rest.
On a Vue 3 + Vite app, replace @vitejs/plugin-vue with @vizejs/vite-plugin. Your SFCs stay as
they are.
npm i -D @vizejs/vite-plugin// vite.config.ts
import { defineConfig } from "vite";
import vize from "@vizejs/vite-plugin";
export default defineConfig({
plugins: [vize()],
});Then use the same dev / build scripts as before. This swaps SFC compilation only. Lint, format,
and type-check stay on your current tools until you add them. The claim is Vue 3 SFCs in Vite — see
Drop-in Scope.
Nuxt apps should use @vizejs/nuxt instead of wiring the Vite plugin by hand.
Bring Vue to native type checking with tsrs and Vize's
Content Mapper. The checker handles TypeScript; Vize supplies Vue's script and template types
and maps diagnostics back to the original .vue file.
npm i -D vize tsrs{
"contentMappers": [{ "package": "vize", "extensions": [".vue"] }]
}npx tsrs --runExternalCode --noEmit -p tsconfig.jsonImported props, generic components, typed slots, events, v-model, template refs, and
Options API bindings are covered by dedicated regression suites. See the
coverage map for the feature boundaries
and tests, and beyond vue-tsc for
examples of more precise diagnostics.
The same config works with TypeScript 7.1 or newer:
npm i -D typescript@beta
npx tsc --runExternalCode --noEmit -p tsconfig.jsontypescript@beta is the 7.1 beta, the first release that includes content mappers.
After 7.1 is stable, install typescript at 7.1 or newer and keep the same command.
On Node.js 22.15–22.21.0 and 24.0–24.9, the beta's tsc starts the compiler without your
environment variables, so the mapper cannot start and TypeScript reports TS18070. Use
Node.js 22.21.1, 24.10 or newer, or install typescript@next instead.
Details are in the type checking guide.
Native Vue checking on pinned real-project sources, with the same source-built Vize mapper and matching normalized diagnostics. Seven fresh-cache runs on Blacksmith 32 vCPU, recorded 2026-12-04:
| Corpus (SFCs) | Native TS 7.1 beta | tsrs 0.20 default | tsrs 0.20 --fast | tsrs 0.23 --fast |
|---|---|---|---|---|
| misskey frontend (583) | 1191 ms | 439 ms | 280 ms | 278 ms |
| n8n editor-ui (1113) | 2786 ms | 1021 ms | 562 ms | 562 ms |
| nuxt/ui src (187) | 811 ms | 304 ms | 213 ms | 213 ms |
| reka-ui core (455) | 668 ms | 283 ms | 195 ms | 194 ms |
Median elapsed time; benchmark dependency closures include unresolved imports. Commands use their default worker policies. Charts, CPU, memory, 144 planted error scenarios, exact versions and raw evidence explain the measured scope. These are checker-configuration results, not a Vize/Vue mapper speed ranking.
Create a Vue + Vite or Nuxt app first, then let vize init wire the toolchain.
Vue + Vite:
npm create vue@latest my-app
cd my-app
npx vize initNuxt:
npm create nuxt@latest my-app
cd my-app
npx vize initinit can add the Vite plugin or Nuxt module, Oxlint, vize fmt, vize check, and a VS Code
recommendation. If you already have Vite+, run
vpx vize init instead.
For an existing Vite, Vite+, or Nuxt project, preview the plan, then apply it:
npx vize init --dry-run
npx vize initinit is idempotent and lets you choose surfaces. Existing vize.config.* is left as-is. A second
run adds no duplicate plugin, script, or dependency. The first run may still add vize:* scripts
and update a plain vite.config.* or nuxt.config.*.
Non-interactive:
npx vize init --yes --lint --bundler --fmt --typecheck --editorIf you only want the compiler, use the drop-in swap above. Custom vue({ ... }) options and unusual
Vite configs are not rewritten automatically. See Project Setup.
Vize is in its Real World Testing phase: fix requests and PRs are very welcome, and we are looking for reasonably large Vue projects to use as test beds.
This project draws inspiration from Volar.js, vuejs/language-tools, eslint-plugin-vue, eslint-plugin-vuejs-accessibility, Lightning CSS, Storybook, and OXC.
Special thanks to:
- Blacksmith for sponsoring high-performance CI/CD runners and Testbox infrastructure for frequent benchmarks and real-project compatibility checks.
- Mates Inc. for allowing ubugeeei, its employee, to dedicate discretionary work time to OSS and for adopting Vize in the build for the company's engineering website.
- Anthropic, through Claude for Open Source, for supporting Vize's ongoing open-source development.
- OpenAI Codex for Open Source for past support of Vize's open-source development. That support ended in September 2026.
- dmnlk for sustained code contributions and performance improvements, especially to Canon's type checker. As a Vize committer, dmnlk is entrusted with write access to the repository. Thank you for helping develop and maintain Vize.
- かっこかり for continuously testing Vize's compiler and Vite Plugin on Misskey (~103k lines of Vue across 586 SFCs), with timely reports as the implementation changed (report).
- ushironoko for compiler, linter, and CLI fix reports, reference implementations, and reproduction repositories.
- dannote for bringing Vize into the Elixir community through Volt, an Elixir-native frontend toolchain built on Vize, and for reporting missing pieces and sending PRs as Volt adopted Vize as a foundation.
- n13u and
#frontend_phpcon_dofor persistently reporting fix cases while building a Nuxt-based conference website with Vize, then carrying that validation all the way to production adoption (report, write-up). - yamanoku for accessibility-focused feedback around Vize and for using the project in the Vue Fes Japan speaker-site migration documented in the v-tokyo Meetup #25 LT notes (write-up).
- sevenc-nanashi for using the VOICEVOX editor (~26k lines of Vue across 128 SFCs) as a real-world target for improving compiler precision (report).
- Q16solver for moving a Nuxt monorepo's Vue tooling onto Vize
(type checking with tsrs and the content mapper, library builds, and the Nuxt app build) and
turning every gap against
vue-tscinto a precise, minimal report covering generic and dynamic components, inline callback props, event maps, and declaration emit. - naitokosuke for reports spanning nearly the whole toolchain (compiler SSR and Vapor output, linter rules, Nuxt builds, the language server, the VS Code extension, the content mapper, and Musea) and for fixes to the VS Code extension, the install guide, and the development shell.
- FLPPPPPP for Windows
oxlint-vizeand type-awarevize lintreports, and for precise gaps between Vize rules and eslint-plugin-vue. - warflash for a precise report where
defineProps<Props>()resolved an importedinterface Propsinstead of the localtype Props. - Everyone who has mentioned, shared, tested, or amplified Vize across the community.
Vize is a personal project by ubugeeei, licensed under the MIT License and maintained as a non-commercial OSS effort. It is not owned by any specific company, is intended to remain open, and is not being built with a buyout in mind.
