Files
vue-tui/packages/cli
Yunfei He 1d6c47ca88 feat(scripts): add check:type running real tsc per package
Each package gets check:type = `tsc --noEmit` (under its own tsconfig); root
check:type = `vp run -r check:type` fans out across the workspace. Unlike vp's
tsgolint-based type-aware path, this is the standard TypeScript compiler, so it
honors each tsconfig's real project semantics.

Additive only here — vp lint still carries typeCheck; the switch-over and ready
rewiring land in the next commit. Note: testing and runtime-tests resolve
@vue-tui/runtime types from its built dist, so check:type requires a prior
build.
2026-05-29 16:54:13 +08:00
..

@vue-tui/cli

Early stage — under active development. Bug reports welcome, but not recommended for production use yet.

Development server for vue-tui — Vite-powered HMR for Vue 3 terminal apps.

npm version npm downloads

Why

  • Terminal HMR — edit a .vue file, see the terminal update instantly
  • Works with your Vite config — just run vue-tui dev in a project with index.html and your existing Vite plugins
  • Crash recovery — auto-restarts the process after a crash

Built on Vite's bundledDev mode. Bundles your vue-tui app into a single Node.js process with hot module replacement — the same edit-save-see loop you get with Vite on the web, but for TUI development.

Install

npm install -D @vue-tui/cli

Usage

vue-tui dev

Starts a Vite dev server in bundledDev mode, builds your app, and runs it in a managed child process. Most file changes are applied via HMR; changes that require a full reload restart the process automatically.

package.json script

{
  "scripts": {
    "dev": "vue-tui dev"
  }
}

License

MIT