vite

Guide Vite project configuration, plugins, and SSR workflows.

Updated Nov 29, 2025
One-click install
npx skills add https://github.com/hightemp/openrouter-chat-app-vue --skill vite-hightemp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vite
Source: https://github.com/hightemp/openrouter-chat-app-vue/tree/main/.github/skills/vite
Command: npx skills add https://github.com/hightemp/openrouter-chat-app-vue --skill vite-hightemp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Vite users often struggle with configuring vite.config.ts, managing plugins, and implementing SSR workflows across projects; this skill provides a centralized guide and reference to streamline those tasks.

Core Features & Use Cases

  • Centralized guidance for vite.config.ts patterns and environment usage.
  • In-depth overview of the Vite plugin API, dev server integration, and SSR workflows.
  • Migration guidance for Rolldown-based Vite 8, including config migrations.
  • Use cases include building libraries, SSR middleware, and production optimizations.

Quick Start

Set up a Vite project and start exploring vite.config.ts, plugins, and SSR features.

Frequently Asked Questions about vite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure vite.config.ts for different environments?

To configure vite.config.ts, you need to apply centralized patterns for environment usage and conditional logic. This guidance streamlines project setup by providing reference patterns for environment-specific configurations.

What is the best way to build a library with Vite?

Building a library with Vite requires utilizing library mode within your configuration. This approach provides specific build optimizations and output formatting tailored for packaging distributable libraries.

How do I implement SSR middleware in a Vite project?

Implementing SSR middleware involves integrating server-side rendering workflows into your Vite dev server. This provides in-depth guidance on connecting SSR features and middleware for production rendering.

Can I use Vite plugins to extend the dev server?

Yes, you can use Vite plugins to extend the dev server through the Vite plugin API. This allows deep integration with the dev server to customize build behavior and inject processing logic.

How do I migrate my config to Vite 8 Rolldown?

Migrating to Vite 8 Rolldown requires following specific migration guides to update your configuration. This provides necessary steps and reference material to transition your config to the Rolldown-based build.