Void (Vue)
Void (Vue) scores 15 of 28 points. That is 8 of 14 on the 7 features that affect first paint (the moment the browser first draws content), and 7 of 14 on the 7 other features.
- Version checked
- void 1.12.2 with @void/vue 1.12.2 (npm latest on 2026-11-28), by VoidZero
- Version notes
- Void is a Vite 8 framework and deploy CLI that targets Cloudflare Workers by default. These labels are for Pages Routing with the Vue adapter (voidVue() from @void/vue/plugin); the other adapters are scored in their own columns. Books port: void-vue-books, main only, deployed to Cloudflare Workers with void deploy (see the intro above).
- Performance guide
- Static Assets | VoidNo dedicated performance page; closest official page.
- Issues
- github.com/voidzero-dev/void/issues
Scorecard
All 14 features, in two groups. Each row shows Void (Vue)'s label, how that label compares across all 23 frameworks, and how to enable the feature. Feature names link to Void (Vue)'s entry on that feature's page.
Void (Vue)'s labels across 14 features
- 1st-party6
- Experimental0
- Third-party3
- Manual5
- of 14
How it compares
On 6 of 14 features, no framework has a higher-scoring label than Void (Vue). On the other 8, at least one does.
First-paint levers
- 01Production CSS inliningManual0 pts
Manual, like 11 of the other 22 frameworks. 11 frameworks score higher.
Show the how-toHide the how-to
No first-party CSS inlining documented. The render API's
assetTags.cssis "Stylesheet links for<head>", and Pages mode inserts the same links. Inline by hand, for example with a Vite?inlineimport. (ssr, handlers)Code example
Void has no option to inline CSS, so import the stylesheet with Vite's
?inlinequery and render it in a<style>element. Void does not add a<link>for a file imported this way. Vue templates cannot hold<style>, so render it withh().<!-- pages/about.vue --> <script setup lang="ts"> import { h } from 'vue' import criticalCss from './critical.css?inline' const InlineStyle = () => h('style', { id: 'about-critical', innerHTML: criticalCss }) </script> <template> <main> <InlineStyle /> <h1>About</h1> </main> </template>Source: Vite: Disabling CSS injection into the page · Vue: Render functions
- 02Font optimizationThird-party1 pt
Third-party, like 18 of the other 22 frameworks. 4 frameworks score higher.
Show the how-toHide the how-to
No first-party font handling documented; the docs mention fonts only as CSS variables for the Markdown theme. The third-party route is Fontsource packages imported from a stylesheet. (markdown, static-assets)
Code example
Install a Fontsource package so the font files become local build assets, then add the preload link from the page's
head.// pages/index.server.ts import '@fontsource-variable/geist' // @font-face with font-display: swap import fontUrl from '@fontsource-variable/geist/files/geist-latin-wght-normal.woff2?url' import { defineHead } from 'void' export const head = defineHead(() => ({ link: [{ rel: 'preload', href: fontUrl, as: 'font', type: 'font/woff2', crossorigin: 'anonymous' }], }))Source: Fontsource: Install · Void: Head
- 03Image pipelineThird-party1 pt
Third-party, like 13 of the other 22 frameworks. 9 frameworks score higher.
Show the how-toHide the how-to
No image component or optimizer documented; the head guide covers only
og:imageURLs, and Markdown images are lazy-loaded. Use a community package such as Unpic or a host image CDN. (head, markdown)Code example
Void has no image component. Resize and re-encode at build time with
vite-imagetoolsquery imports, and writewidth,heightandloadingyourself. For remote covers, use@unpic/vuewith an image CDN.<!-- components/Cover.vue --> <script setup lang="ts"> import srcset from './cover.jpg?w=320;640;960&format=webp&as=srcset' import fallback from './cover.jpg?w=640&format=webp' defineProps<{ title: string }>() </script> <template> <img :src="fallback" :srcset="srcset" sizes="320px" width="320" height="480" loading="lazy" decoding="async" :alt="title" /> </template>Source: vite-imagetools · Unpic
Art direction with <picture>
ManualServing a different crop or format per screen size. Not scored: the label shows how much the framework does for you.
No first-party
<picture>helper documented; hand-write the markup. (head)Example
Write the
<picture>by hand. The?as=srcsetimports give each<source>its own format or crop, and the<img>is the fallback.<!-- components/Cover.vue --> <script setup lang="ts"> import avif from './cover.jpg?w=320;640;960&format=avif&as=srcset' import webp from './cover.jpg?w=320;640;960&format=webp&as=srcset' import fallback from './cover.jpg?w=640&format=webp' defineProps<{ title: string }>() </script> <template> <picture> <source type="image/avif" :srcset="avif" sizes="320px" /> <img :src="fallback" :srcset="webp" sizes="320px" width="320" height="480" :alt="title" /> </picture> </template>Source: vite-imagetools: as=srcset · MDN:
<picture> - 04Data/HTML caching1st-party2 pts
1st-party, like 16 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
ISR with
routing.revalidate(global or per path), a per-pageexport const revalidate = 120, anx-revalidateresponse header, and on-demand purge withrevalidate({ paths })fromvoid/isr. Pages can be prerendered at deploy time (export const prerender = true) or at build time (output: "static"). ISR and edge prerendering need the Cloudflare target, where Void provisions the cache itself;routing.revalidateis ignored on Node, Bun and Deno. The client keeps prefetched page data forcacheFor(default'30s'). (revalidation, prerendering, ssg, cloudflare, nodejs-bun-deno)Code example
On Cloudflare, give a page a revalidate time and Void caches the rendered HTML (ISR);
revalidate({ paths })fromvoid/isrpurges it. On Node, Bun and Deno ISR is ignored, so setCache-Controlwithrouting.headers.// pages/index.server.ts import { defineHandler } from 'void' export const revalidate = 120 // seconds, Cloudflare target export const loader = defineHandler(async () => ({ books: await listBooks() }))// void.config.ts import { defineConfig } from 'void/config' export default defineConfig({ routing: { headers: { '/': ['Cache-Control: public, s-maxage=120, stale-while-revalidate=600'] } }, })Source: Void: Revalidation · Void: Headers
- 05Route prefetching1st-party2 pts
1st-party, like 18 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
<Link href="/dashboard" prefetch>from@void/vue, with strategies'hover' | 'click' | 'mount' | 'visible'(or an array), an app-wideprefetch.defaultStrategyonvoidVue()(defaultfalse),hoverDelay(75 ms) andcacheFor, plusrouter.prefetch(). Prefetching runs the destination's loader, so page data is prefetched as well as code. Links skip it on data saver or 2G. (overview, pages adapters)Code example
Add
prefetchto<Link>. It loads the destination's code and runs its loader before the click. Strategies arehover,click,mountandvisible, andprefetch.defaultStrategyonvoidVue()turns it on for every link.<!-- components/BookLink.vue --> <script setup lang="ts"> import { Link } from '@void/vue' defineProps<{ id: string; title: string }>() </script> <template> <Link :href="`/${id}`" prefetch="hover">{{ title }}</Link> </template>Source: Void: Prefetching
- 06Streaming SSR1st-party2 pts
1st-party, like 17 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Wrap slow loader values in
defer(): "The page renders immediately and receives the result when it is ready." The Vue page gets a{ loading, value, error }object and renders the loading branch first; the value is streamed into the same response when it resolves.defer('group', fn)resolves several props from one call. (loaders, pages adapters)Code example
Wrap a slow value in
defer(). The page is sent first, and the value follows later in the same response. The Vue page gets an object withloading,valueanderror.// pages/[id].server.ts import { defer, defineHandler } from 'void' export const loader = defineHandler(async (c) => ({ book: await getBook(c.req.param('id')), reviews: defer(() => getReviews(c.req.param('id'))), }))<!-- pages/[id].vue --> <script setup lang="ts"> const props = defineProps<Props>() </script> <template> <h1>{{ props.book.title }}</h1> <p v-if="props.reviews.loading">Loading reviews…</p> <p v-else-if="props.reviews.error">Reviews failed to load.</p> <Reviews v-else :items="props.reviews.value" /> </template>Source: Void: Deferred props
- 07Early Hints / preload headersManual0 pts
Manual, like 15 of the other 22 frameworks. 7 frameworks score higher.
Show the how-toHide the how-to
No preload
Linkresponse headers or 103 Early Hints documented.assetTags.preloadsputs<link rel="modulepreload">tags in the HTML<head>, not in headers. Set aLinkheader by hand withrouting.headersorc.header(). (handlers, headers)Code example
Void sends no 103 and no preload
Linkheader. It only puts<link rel="modulepreload">tags in the HTML. Add the header yourself withrouting.headers.// void.config.ts import { defineConfig } from 'void/config' export default defineConfig({ routing: { headers: { '/*': ['Link: </fonts/geist.woff2>; rel=preload; as=font; crossorigin'] } }, })Source: Void: Headers
Other features
- 08Islands / partial hydration / lazy slices1st-party2 pts
1st-party, like 14 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Name a page
*.island.vueand import interactive components withimport Counter from './_Counter' with { island: 'load' }. The strategies areload,visible,idleandmedia:(query). Components imported without the attribute ship no JavaScript. Island pages have no client router (full-page navigation), and island pages without a loader are prerendered automatically. (islands)Code example
Name the page
*.island.vueand import each interactive component with anislandimport attribute. Components imported without it render to HTML and ship no JavaScript. Island pages have no client router.<!-- pages/about.island.vue --> <script setup lang="ts"> import Counter from './_Counter.vue' with { island: 'visible' } // load | visible | idle | media:(query) import StaticNote from './_StaticNote.vue' </script> <template> <main> <StaticNote /> <Counter /> </main> </template>Source: Void: Islands
- 09Per-route render modes1st-party2 pts
1st-party, like 18 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Per-page
ssr = false(client-mounted shell, loader still runs),prerender = true | false, andrevalidate = <seconds>exports in the.server.tscompanion. App-wideoutput: "static"flips the prerender default, and island and Markdown pages are a further static mode. (overview, ssg, revalidation)Code example
Pages render on each request by default. A page's
.server.tscan turn off SSR or prerender it, andoutput: 'static'invoid.config.tsprerenders every page unless it opts out.// pages/account.server.ts: rendered in the browser only; the loader still runs on the server export const ssr = false// pages/about.server.ts: built to HTML (deploy-time on Cloudflare, build-time with output: 'static') export const prerender = trueSource: Void: Pages routing · Void: Static sites · Void: Prerendering
- 10Fine-grained client reactivity1st-party2 pts
1st-party, like 21 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Vue refs and
computedtrack dependencies; a change re-renders only the components that read it. (pages adapters, vue reactivity)Code example
@void/vuekeeps Vue's reactivity: arefchange re-renders only the components that read it.<!-- pages/counter.vue --> <script setup lang="ts"> import { ref } from 'vue' const count = ref(0) </script> <template> <button @click="count++">Count: {{ count }}</button> </template>Source: Void: Pages API · Vue: Reactivity fundamentals
- 11Built-in bundle analysisThird-party1 pt
Third-party, like 18 of the other 22 frameworks. 2 frameworks score higher.
Show the how-toHide the how-to
No first-party analyzer documented, and the CLI has no analyze command. Void is a Vite plugin, so the third-party route is a community visualizer such as rollup-plugin-visualizer. (cli)
Code example
Void has no analyze command. Add
rollup-plugin-visualizertovite.config.tsfor the client build.// vite.config.ts import { voidVue } from '@void/vue/plugin' import { visualizer } from 'rollup-plugin-visualizer' import { defineConfig } from 'vite' import { voidPlugin } from 'void' export default defineConfig({ plugins: [ voidPlugin(), voidVue(), process.env.ANALYZE && { ...visualizer({ filename: 'dist/stats.html' }), applyToEnvironment: (env) => env.name === 'client' }, ], })Source: rollup-plugin-visualizer · Void: CLI
- 12Third-party script strategiesManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide the how-to
No first-party script-loading strategy documented.
head()and middlewareheadDefaultsacceptscriptentries, which add tags by hand, and Markdown pages take a<script>block. (head, markdown)Code example
Void has no script-loading strategy. Add the tag from
headwithdeferorasync.// pages/layout.server.ts or any page's .server.ts import { defineHead } from 'void' export const head = defineHead(() => ({ script: [{ src: 'https://example.com/analytics.js', defer: 'defer' }], }))Source: Void: Head
- 13Portable multi-host deploymentManual0 pts
Manual, like 8 of the other 22 frameworks. 14 frameworks score higher.
Show the how-toHide the how-to
targetis"cloudflare"(default, deployed withvoid deploy),"node","bun"or"deno". Non-Cloudflare targets build a Hono server indist/ssrfor you to host, and they drop D1, KV, R2, auth, ISR and edge prerendering.output: "static"builds files any static host can serve (the docs name GitHub Pages). No Vercel or Netlify adapter is documented, so this is scored like Remix 3 (Node, Bun, Deno, Cloudflare). (config, nodejs-bun-deno, deployment, ssg)Code example
Set
targetinvoid.config.ts.cloudflare(the default) deploys withvoid deploy.node,bunanddenobuild a Hono server indist/ssrthat you host yourself, without ISR, edge prerendering or the D1, KV and R2 bindings. No Vercel or Netlify target is documented.// void.config.ts import { defineConfig } from 'void/config' export default defineConfig({ target: 'node', // 'cloudflare' | 'node' | 'bun' | 'deno' })npx vite build && node dist/ssr/index.jsSource: Void: Config · Void: Node.js, Bun and Deno
- 14Service worker / offline supportManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide the how-to
No service worker support documented. Hand-write the worker, serve it from
public/, and register it from client code. (static-assets)Code example
Void has no service worker support. Put a hand-written worker in
public/and register it from client code.// src/register-sw.ts, imported from a client component if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/sw.js') }Source: Void: Static assets
1st-party scores 2 points, Experimental and Third-party 1, Manual 0. How scoring works
The port
The books demo app built with this framework, and where each branch is deployed.
- App
- void-vue-books
- Repository
- github.com/MaxwellCohen/void-vue-books
Branch
main
vibe port; void deploy from GitHub Actions
- Vercel
- Not deployed
- Netlify
- Not deployed
- Cloudflare
- void-vue-books.to-email-max.workers.dev
Latest benchmark
Mobile Lighthouse lab results from PageSpeed Insights on : the median of 3 runs per host, averaged across the hosts listed. The benchmark page explains each metric and has every other framework.
| Build | Path | Perf | FCP | Raw FCP | LCP | TBT | CLS | SI | TTI | Doc | Hosts |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Book list / | |||||||||||
| baseline | / | 85 | (good)1.51 | 0.27 | (poor)4.36 | (good)40 | (good)0.000 | 1.51 | 4.36 | 123 | 1/3 Cloudflare |
| Book page /10145787 | |||||||||||
| baseline | /10145787 | 96 | (good)1.51 | 1.34 | (needs improvement)2.56 | (good)0 | (good)0.000 | 2.48 | 2.56 | 191 | 1/3 Cloudflare |
- Good
- Needs improvement
- Poor
FCP 1.8 s / 3 s · LCP 2.5 s / 4 s · TBT 200 ms / 600 ms · CLS 0.1 / 0.25
Per host
The medians above before averaging. Runs is how many measured runs went into each median. Host names link to the deployment.
| Build | Path | Host | Perf | FCP | Raw FCP | LCP | TBT | CLS | SI | TTI | Doc | Runs | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Void (Vue) | |||||||||||||
| baseline | / | Cloudflare | 85 | (good)1.51 | 0.27 | (poor)4.36 | (good)40 | (good)0.000 | 1.51 | 4.36 | 123 | 3/3 | OK |
| baseline | /10145787 | Cloudflare | 96 | (good)1.51 | 1.34 | (needs improvement)2.56 | (good)0 | (good)0.000 | 2.48 | 2.56 | 191 | 3/3 | OK |