Skip to content

格式化与代码

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.

查看所有 格式化与代码