|
- Getting Started | Vite
create-vite is a tool to quickly start a project from a basic template for popular frameworks Check out Awesome Vite for community maintained templates that include other tools or target different frameworks
- Vite | Next Generation Frontend Tooling
Vite Next Generation Frontend Tooling Get ready for a development environment that can finally catch up with you
- Vite | 下一代的前端工具链
I'm loving what Vite enables We've found building SolidStart that it is less a metaframework but a system of symbiotic Vite plugins While built with SolidJS in mind, they should scale from our simplest template to opinionated starter
- Vite
Why Vite; Getting Started; Features; Using Plugins; Dependency Pre-Bundling; Static Asset Handling; Building for Production; Deploying a Static Site; Env Variables and Modes; Server-Side Rendering (SSR) Backend Integration; Comparisons; Migration from v1; APIs Plugin API; HMR API; JavaScript API; Config Reference
- Rolldown 集成 | Vite 官方中文文档
rolldown-vite 包是一个临时的解决方案,用于收集反馈和稳定 Rolldown 的集成。在未来,这个功能将被合并回主 Vite 仓库。 我们鼓励你尝试 rolldown-vite 并通过反馈和问题报告来参与其开发工作。
- 开始 | Vite 官方中文文档
执行 vite 命令会以当前工作目录作为根目录启动开发服务器。你也可以通过 vite serve some sub dir 来指定一个不同的根目录。 需要注意的是,Vite 也会在项目的根目录中寻找 它的配置文件(即 vite config js),所以如果更改了根目录,你需要将配置文件一起移动过去。
- Configuring Vite | Vite
By default, Vite will crawl all your html files to detect dependencies that need to be pre-bundled (ignoring node_modules, build outDir, __tests__ and coverage) If build rollupOptions input is specified, Vite will crawl those entry points instead
- Building for Production | Vite
Until Vite 2 8, the default chunking strategy divided the chunks into index and vendor It is a good strategy for some SPAs, but it is hard to provide a general solution for every Vite target use case
|
|
|