格式化与代码
Vite 配置生成器
Visually compose a vite.config.ts with sensible presets.
Runs in your browser
Plugins
vite.config.ts
lines: 16chars: 310size: 310 B
live
编辑注
Understanding · A plugins array, a few options, that's it.
本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。
常见问题
Quick answers.
›Which frameworks are supported?
The generator includes presets for React, Vue, Svelte, Preact, and Lit, along with vanilla TypeScript and JavaScript setups.
›Does this tool install dependencies?
No. The tool generates the configuration code only; you will still need to install the relevant plugins via `npm` or `yarn` as specified in the output.
›What is the difference between library and build mode?
Build mode optimizes for a web application deployment, while library mode configures Vite to bundle your code for distribution on registries like npm.
›Is my project data safe?
Yes. This generator runs entirely in your browser. None of your local paths or configuration choices are sent to a server.
大家也在搜索
相关工具
More in this room.
- Docker Compose 生成器根据服务列表生成 Compose 文件。
- Kubernetes Deployment + Service一个文件中的 K8s Deployment + Service manifest。
- GitHub Actions 工作流在几秒钟内为 Node、Python 或 Go 生成 CI 工作流。
- GitLab CI 流水线多阶段 .gitlab-ci.yml — 构建 / 测试 / 部署。
- Terraform 模块存根variables.tf + main.tf + outputs.tf 支架。
- Dockerfile 最佳实践生成器多阶段 Dockerfile + .dockerignore — Node、Python、Go。