vite-plugin-view (legacy)
Dynamically render pages using custom template engines instead of the static `index.html` entry file (Vite 1-6 / Rollup version).
Quick start
This folder is frozen and kept only for older Vite releases. Vite 8+ (Rolldown) users please use the latest docs from the top nav.
Dynamically render pages using custom template engines instead of the static `index.html` entry file (Vite 1-6 / Rollup version).
Quick start
Excludes specified module dependencies from runtime code and built bundles (globals / CDN / dynamic resolvers — Vite ≤ 6 compatible).
Quick start
Generate additional build artifacts (chunk files in different formats) after Vite's Rollup-based main build.
Quick start
Combines multiple module files into a single target file (named / default / auto / no-export modes).
Quick start
A powerful Vite plugin for copying files / directories with advanced transformation and renaming.
Quick start
Displays the sequence and frequency of Vite calling its plugin hook functions.
Quick start
Bundles all CSS into a single JavaScript file when `cssCodeSplit: false` is enabled.
Quick start
Provides a simple, file-route based way to mock HTTP data for the Vite dev server.
Quick start
Serves specific scripts as `text/javascript` MIME type instead of the ES module MIME type.
Quick start
Transforms bulk imports from a single source module into individual sub-path / file imports.
Quick start
This is Vite 1.x – 6.x LEGACY documentation archive / 这是 Vite 1.x – 6.x 旧版文档归档
Route scope / 路由范围说明
/legacy/* (e.g. /legacy/guide/introduction, /legacy/plugins/vite-plugin-view/quick-start)./zh/legacy/*(例如 /zh/legacy/guide/introduction、/zh/legacy/plugins/vite-plugin-view/quick-start)。/legacy/* and /zh/legacy/* only applies to Vite 1.x ~ 6.x (vite-plugin-view ≤ 4.x, vite-plugin-external ≤ 7.x, etc.).