@nuxt/vite-server
4.6.2 · 16 Oct 2026MIT246.8k / weekRepositoryHomepagenpmAtom feed
4 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x · latest line
4.6.2
16 Oct 2026nitro: apply
useHeadSaferules to server island headnitro-server: read router params from the path h3 matched
nitro: match server route rules case-insensitively unless routing is sensitive
v4.6.2 is the next patch release.
Changelog
Fixes
nitro: apply
useHeadSaferules to server island headnitro-server: read router params from the path h3 matched
nitro: match server route rules case-insensitively unless routing is sensitive
nuxt: resolve rooted paths through the URL parser
nuxt: resolve empty route types in shared context
nitro: preserve server tsconfig with relocated build dir
nuxt: fix scroll offset for IDs starting with numbers
kit: do not exclude module directories with a dot in their name from app tsconfig
nuxt: detect vapor slots with
rawVaporSlotKeyfrom vuenuxt: keep middleware layout when restoring deferred prerendered route
schema: provide default value for
experimental.typescriptPluginvite: only replay compile error overlays to newly loaded pages
nuxt: re-export
AnyFetchPathfor emitted server route typesvite: warm up the dev ssr entry from a nitro plugin
nitro: avoid unused h3 imports in nuxt/server runtime
vite-server: scope asset url helpers to the build
nuxt: resolve
nuxt/appto the app's runtimekit: lowercase filename-derived handler method on nitro v2
nuxt,nitro: normalise string/array
appMiddlewarenitro: pass response headers to
render:responselistenersvite: resolve inlined
vueto its bundler build in devnuxt: don't start a page transition with no page to leave
nuxt: preserve error state on aborted or cancelled navigation
vite,nitro: link null-byte virtual css through
/@id/in devkit: resolve module dependencies from the declaring module
nitro: only disable h3 + nitro presets when
nitroAutoImportsis offnitro,vite: don't access unspecified dependencies
nitro: don't inline deps under absolute transpile dirs
vite-server: respect spa loading template location
4.6.1
9 Oct 2026nitro: build the portable event's web view on first access
vite: match vite 8.1+ optimizer messages for deps hint
nuxt: accept any
baseURLwhen fetch response type is named
v4.6.1 is the next patch release.
Changelog
Performance
nitro: build the portable event's web view on first access
Fixes
vite: match vite 8.1+ optimizer messages for deps hint
nuxt: accept any
baseURLwhen fetch response type is namednitro: resolve
nitropack/typesdeclarations under nodenextnuxt: allow
falseinsetPageLayouttypesnuxt: align
Serializeobject types with JSONvite: don't abort dep scan on virtual imports in installed packages
nuxt: update
publishConfigconfig export extensionkit: install the package a missing subpath belongs to
vite-server: use the configured outDir as the public directory for non-ssr environment
kit,nitro: match dev handler paths on both nitro majors
nuxt: preserve onServerPrefetch for useId hydration
vite-server: include the request in dev error reports
nitro: register each dev server handler once
nitro: pass
RequestEventtonuxtdev server handlersnuxt: type the global
$fetchwith nuxt'sTypedFetchvite-server: work with deploy target plugins in dev
schema: ignore
.wranglerdirectoryvite-server: pass the path to the error page render
nuxt,vite: disable dev error broadcast if
BroadcastChannelthrowskit: align semantic version regexp with nightly version format
nuxt: export types reachable from async data composables
vite: detect enclosing string delimiter in inline style urls
schema: type the
nuxtdev server handler variantnitro: inline nuxt runtime when resolved to windows paths
nitro: resolve
unheadfrom nuxt in server bundle
4.6.0
5 Oct 2026Since v4.2
server.builderhas been configurable. This release adds a second server builder:@nuxt/vite-server. It builds a Nuxt app with Vite alone (#36218, #36279, #36288).Experimental:
@nuxt/vite-serverSince v4.2
server.builderhas been configurable. This release adds a second server builder:@nuxt/vite-server. It builds a Nuxt app with Vite alone (#36218, #36279, #36288).This is all you need to do to configure it.
export default defineNuxtConfig({ server: { builder: 'vite', // 'nitro' is the default }, })It can produce a pure client SPA, a server-rendered app with a small Node entry, a web-standard
fetchhandler for platforms that provide the server (there are e2e examples for Cloudflare Workers, Netlify and universal deploy), as well as fully static output withnuxt generate.Right now, this helps keep Nuxt's code agnostic, enforce the contract behind
nuxt/server, and to give Vite plugins that provide a deploy target something to build on. It does not have Nitro's full feature set (there is no storage, caching, tasks or server plugins), and we expect most apps to keep using Nitro. Nitro remains the default.[!WARNING]
This is highly experimental and the API will change.'nitro'and'vite'are new shorthands for@nuxt/nitro-serverand@nuxt/vite-server.- 0.0.x
0.0.0
30 Aug 2026