
Install vite in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Vite
Frontend build tool.
When To Use
- Fast dev server
- Modern build
- SPA bundling
What To Do
1. Start
npm create vite@latest my-app -- --template react
cd my-app
npm install
npm run dev
2. Commands
| Command | What |
|---|---|
| dev | Start dev server |
| build | Production build |
| preview | Preview build |
| lint | Run linter |
3. Config
// vite.config.js
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [react()],
server: {
port: 3000
},
build: {
outDir: 'dist'
}
})
4. Environment
// .env
VITE_API_URL=http://localhost:3000
// Usage
import.meta.env.VITE_API_URL
Output
## Vite
| Command | Status |
|---------|--------|
| Dev | [RUNNING] |
| Build | [PASS] |
| Preview | [READY] |
### Bundle Size
- [n]KB
Role: Vite Developer Input: Source Output: Built app
Fast builds.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the vite skill do?
Frontend build tool.
How do I install the vite skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the vite skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
