Vite+ Development Environment (vite-plus)
Vite+ Development Environment (vite-plus)
Section titled “Vite+ Development Environment (vite-plus)”Complete Vite+ unified toolchain setup with the vp CLI, integrating Vite, Vitest, Oxlint, Oxfmt, Rolldown, tsdown, and Vite Task into a single development experience with VS Code extensions pre-configured.
Features
Section titled “Features”- Vite+ CLI (
vp): Unified toolchain installed via the official installer - VS Code Extensions: Oxc and Vitest extensions pre-configured
- Oxc Integration: Ultra-fast linting (Oxlint) and formatting (Oxfmt)
- Vitest Support: Test explorer and optimal configuration
- Smart Defaults: Editor configured for Vite+ best practices
What is Vite+?
Section titled “What is Vite+?”Vite+ combines Vite, Vitest, Oxlint, Oxfmt, Rolldown, and tsdown into a single, unified web development toolchain driven by Vite Task.
Key vp commands:
| Command | Description |
|---|---|
vp create | Scaffold new projects and monorepos |
vp install | Install dependencies using the correct package manager |
vp dev | Start Vite dev server with instant HMR |
vp check | Lint (Oxlint) + format (Oxfmt) + type-check (tsgo) |
vp test | Run tests with Vitest |
vp build | Production builds with Rolldown |
vp run | Execute package.json scripts via Vite Task |
vp pack | Bundle libraries or create standalone binaries |
vp env | Manage Node.js globally and per project |
All you need is vp and a vite.config.ts at the project root.
Built by VoidZero (creators of Vite, Vitest, and Oxc). Open source under MIT license.
Basic Setup (recommended)
Section titled “Basic Setup (recommended)”Add this feature to your devcontainer.json:
This will:
- Install
vp(Vite+ unified CLI) for the devcontainer user - Install Oxc and Vitest VS Code extensions
- Configure Oxc as the default formatter
- Enable format-on-save and auto-fix
- Set up Vitest test explorer
With standalone fallback CLIs
Section titled “With standalone fallback CLIs”If you prefer standalone tools instead of or alongside vp:
Note: When using vp, standalone installs of Vite, Vitest, and Oxc are not needed — vp bundles them all.
Options
Section titled “Options”| Option | Type | Default | Description |
|---|---|---|---|
installVitePlus | boolean | true | Install Vite+ unified CLI (vp) for the devcontainer user (~/.vite-plus/bin) |
installGlobally | boolean | true | Symlink vp into /usr/local/bin so it is available system-wide (all users, root, sudo, scripts that don’t source the user’s profile). Requires installVitePlus. |
installVite | boolean | false | Install standalone Vite CLI via npm (not needed with vp) |
installVitest | boolean | false | Install standalone Vitest CLI via npm (not needed with vp) |
installOxc | boolean | false | Install Oxc language server via npm (not needed with vp) |
VS Code Extensions Included
Section titled “VS Code Extensions Included”Oxc (oxc.oxc-vscode)
Section titled “Oxc (oxc.oxc-vscode)”- Ultra-fast linting with Oxlint (~50× to ~100× faster than ESLint)
- Prettier-compatible formatting with Oxfmt (up to 30× faster than Prettier)
- ESLint rule compatibility (600+ rules)
- Type-aware linting support
Vitest Explorer (vitest.explorer)
Section titled “Vitest Explorer (vitest.explorer)”- Test discovery and navigation
- Run/debug tests from UI
- Watch mode integration
- Coverage visualization
VS Code Configuration Applied
Section titled “VS Code Configuration Applied”Note: Even though vp test can run Vitest, the VS Code Vitest Explorer uses npx vitest to ensure the project’s local version runs.
Typical Project Setup with Vite+
Section titled “Typical Project Setup with Vite+”1. Create a new project
Section titled “1. Create a new project”2. Install dependencies
Section titled “2. Install dependencies”3. Develop
Section titled “3. Develop”4. Check code quality (lint + format + type-check)
Section titled “4. Check code quality (lint + format + type-check)”5. Run tests
Section titled “5. Run tests”6. Build for production
Section titled “6. Build for production”7. Run scripts via Vite Task
Section titled “7. Run scripts via Vite Task”All tasks are configured in your vite.config.ts:
Works Great With
Section titled “Works Great With”Combine with other features for a complete development environment:
Supported Frameworks
Section titled “Supported Frameworks”Vite+ works with all Vite-compatible frameworks:
- ⚛️ React - Via
@vitejs/plugin-react - 🟢 Vue - Via
@vitejs/plugin-vue - 🔶 Svelte - Via
@sveltejs/vite-plugin-svelte - 🔷 Solid - Via
vite-plugin-solid - 🅰️ Angular - Via Angular’s Vite integration
- And 20+ more frameworks
Performance Benefits
Section titled “Performance Benefits”- ~1.6× to ~7.7× faster production builds than Vite 7 (Rolldown)
- ~50× to ~100× faster linting than ESLint (Oxlint)
- Up to 30× faster formatting than Prettier (Oxfmt)
- Instant HMR for all file types
- Automated caching with Vite Task for monorepo scripts
Bundled Tools & Versions
Section titled “Bundled Tools & Versions”Vite+ Alpha ships with:
- Vite 8
- Vitest 4.1
- Oxlint 1.52
- Oxfmt (beta)
- Rolldown
- tsdown
Troubleshooting
Section titled “Troubleshooting”vp command not found
Section titled “vp command not found”The installer places vp in ~/.vite-plus/bin/. Ensure your shell profile sources it. Open a new terminal session after installation.
Oxc not formatting
Section titled “Oxc not formatting”Check that oxc.oxc-vscode extension is enabled:
Vitest not discovering tests
Section titled “Vitest not discovering tests”Ensure your vite.config.ts includes test configuration:
Migrating an existing project
Section titled “Migrating an existing project”Run vp migrate in your project root or see the migration guide.
- Vite+: https://viteplus.dev/
- Vite: https://vite.dev/
- Vitest: https://vitest.dev/
- Oxc: https://oxc.rs/
- Rolldown: https://rolldown.rs/
- tsdown: https://tsdown.dev/
- Vite Task: https://github.com/voidzero-dev/vite-task
License
Section titled “License”LGPL-3.0 - See LICENSE file for details