Tentang
Toolchain Vue.js yang sangat cepat, dengan compiler, linter, pemeriksa tipe, formatter, LSP, sistem story, dan editor. Saat ini sudah memiliki lebih dari 37.000 pengujian.
Bahasa pemrograman dan runtimePertumbuhan bintang terukur
- dalam 24 jam
- +1
- dalam 7 hari
- +6
- dalam 15 hari
- +12
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
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.
What Is Vize?
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.
Benchmarks
SFC compile (15,000 files): 46.3× faster; Lint (15,000 files): 218.9× faster; Vite build (1,000 files): 2.7× faster. Source build measured on synthetic Linux workloads, Vize max versus each recorded default/single-thread baseline, at 70da12bb7dab (2026-12-02).
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.
Usage
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.
Drop-in
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.
Type checking
Type-check .vue files with TypeScript 7.1 or newer and Vize's content mapper.
tsrs can run the same tsconfig.
npm i -D vize typescript@beta
{
"contentMappers": [{ "package": "vize", "extensions": [".vue"] }]
}
npx tsc --runExternalCode --noEmit -p tsconfig.json
npx tsrs --runExternalCode --noEmit -p tsconfig.json
typescript@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.
New setup
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 init
Nuxt:
npm create nuxt@latest my-app
cd my-app
npx vize init
init 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.
Migration
For an existing Vite, Vite+, or Nuxt project, preview the plan, then apply it:
npx vize init --dry-run
npx vize init
init 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 --editor
If 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.
Credits
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.
License
Jelajahi proyek terkait
Memuat…