Unofficial 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
Warning
This project is under active development and is not yet ready for production use. APIs and features may change without notice.
Note
@vizejs/vite-plugin is the recommended bundler integration today.
@vizejs/unplugin (rollup / webpack / esbuild) and @vizejs/rspack-plugin are available, but non-Vite integrations are still unstable and should be tested carefully before adoption.
Rspack intentionally keeps a dedicated package because its loader chain, experiments.css, and HMR behavior need Rspack-specific handling instead of the shared unplugin path.
- Compile — Vue SFC compiler (DOM / Vapor / SSR)
- Lint — Vue.js linter with i18n diagnostics
- Format — Vue.js formatter
- Type Check — TypeScript type checker for Vue
- LSP — Language Server Protocol for editor integration
- Musea — Component gallery (Storybook-like)
- MCP — AI integration via Model Context Protocol
npm install -g vizevize build src/**/*.vue # Compile
vize fmt --check # Format check
vize lint --fix # Lint & auto-fix
vize check --strict # Type checkSee the documentation for detailed usage, Vite plugin setup, experimental bundler integrations, WASM bindings, and more.
Node.js is pinned in .node-version and managed with vp env.
vp env install
vp installIf you want node, npm, and related shims to follow the pinned version in your shell, run vp env setup once and enable managed mode with vp env on.
Workspace orchestration lives in the root vite.config.ts via Vite+'s run.tasks.
vp run --workspace-root check # packages + examples + playground
vp run --workspace-root check:fix # auto-fix JS/TS checks where supported
vp run --workspace-root fmt # format workspace files
vp run --filter './playground' test:browser
vp run --filter './examples/vite-musea' buildUse vp run directly; mise task wrappers have been removed.
npm/vscode-vize and npm/vscode-art stay outside the root vp run graph, so build those from their package directories.
Benchmarks with 15,000 Vue SFC files (36.9 MB). "User-facing speedup" = traditional tool (single-thread) vs Vize (multi-thread).
| Tool | Traditional (ST) | Vize (MT) | User-facing Speedup |
|---|---|---|---|
| Compiler | @vue/compiler-sfc 10.52s | 380ms | 27.7x |
| Linter | eslint-plugin-vue 65.30s | patina 5.48s | 11.9x |
| Formatter | Prettier 82.69s | glyph 23ms | 3,666x |
| Type Checker | vue-tsc 35.69s | canon 472ms | 75.5x * |
| Vite Plugin | @vitejs/plugin-vue 16.98s | @vizejs/vite-plugin 6.90s | 2.5x ** |
Detailed compiler benchmark
| @vue/compiler-sfc | Vize | Speedup | |
|---|---|---|---|
| Single Thread | 10.52s | 3.82s | 2.8x |
| Multi Thread | 3.71s | 380ms | 9.8x |
* canon is still in early development and does not yet cover the full feature set of vue-tsc. The speedup partly reflects the difference in work performed.
** Vite Plugin benchmark uses Vite v8.0.0 (Rolldown). The plugin replaces only the SFC compilation step; all other Vite internals are unchanged.
Run vp run --workspace-root bench:all to reproduce all benchmarks.
See the documentation for architecture overview and development setup.
This project is inspired by and builds upon the work of these amazing projects: Volar.js ・ vuejs/language-tools ・ eslint-plugin-vue ・ eslint-plugin-vuejs-accessibility ・ Lightning CSS ・ Storybook ・ OXC
This project is maintained by @ubugeeei. If you find Vize useful, please consider sponsoring.
