网页 综合 更新时间 2026-11-13 17:17:54

Command Line Interface | Vite

自动蜘蛛 vite.dev 正文约 793 字
Command Line Interface | Vite
Dependency Pre-Bundling
Static Asset Handling
Building for Production
Deploying a Static Site
Env Variables and Modes
Server-Side Rendering (SSR)
Environment Instances
Start Vite dev server in the current directory. vite dev and vite serve are aliases for vite.
Build for production.
Pre-bundle dependencies.
Deprecated: the pre-bundle process runs automatically and does not need to be called.
Locally preview the production build. Do not use this as a production server as it's not designed for it.
This command starts a server in the build directory (by default dist). Run vite build beforehand to ensure that the build directory is up-to-date. Depending on the project's configured appType, it makes use of certain middleware.
© 2019-present VoidZero Inc. and Vite contributors. (5def9360)
访问原文 返回搜索 https://vite.dev/guide/cli
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。