npm / @vitejs/plugin-vue
@vitejs/plugin-vue
What changed in @vitejs/plugin-vue 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 breaking1 new APIs and options1 behavior and defaults1 tooling7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@vitejs/plugin-vue 611 changes
Breaking changes 1
Vite 8 beta is no longer in the supported range.
New APIs and options 1
Adds an option to force Vapor mode.
Behavior and default changes 1
Propagates multiRoot for template-only vapor components.
Tooling 1
Adds support for Vite 8.
Fixes and other changes 7
Compiles transformed normal scripts outside vapor mode.
Corrects AST reuse checks and allows Vue 3.6 RC.
Correctly initializes the compiler.
Transpiles TypeScript in templates when the script block is empty.
The version range now uses carets, allowing compatible releases to satisfy the dependency.
Components now reload when switching between vapor and vdom.
Fixed HMR for dynamically loaded Vue SFC modules in apps with Tailwind.