Skip to content

Vite Commands (/vite:)

← All command namespaces

Framework-agnostic Vite projects only — vanilla JS/TS apps, library authoring, multi-page apps, Workers/WASM entries. For React/Vue/Angular/Svelte's own Vite tooling, use /react:*, /vuejs:*, /angular:* commands instead.

Code Generation

CommandDescription
/vite:scaffold-projectScaffold a new Vite project (vanilla-ts/lit-ts template) or a library skeleton

Analysis Commands

CommandDescription
/vite:check-architectureValidate project shape (vanilla SPA, library, multi-page, Workers/WASM) and vite.config.ts organization
/vite:check-code-qualityRun code quality checks (ESLint, tsc --noEmit)
/vite:check-complianceCheck rule compliance (Config & Architecture, TypeScript & Quality, Tests, Build Output & Performance)
/vite:check-securitySecurity audit (envPrefix/define() leakage, multi-page CSP, Workers/WASM sandboxing)
/vite:check-testingTest coverage analysis (Vitest)
/vite:check-library-buildValidate build.lib output and vite-plugin-dts .d.ts generation