Skip to content

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.

Tied for rank 14 of 23 with SolidStart, React Router, Void (React), Void (Solid)15/28 points: 8/14 first-paint, 7/14 other · 54% complete
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

8/14
  • Manual, like 11 of the other 22 frameworks. 11 frameworks score higher.

    Show the how-to

    No first-party CSS inlining documented. The render API's assetTags.css is "Stylesheet links for <head>", and Pages mode inserts the same links. Inline by hand, for example with a Vite ?inline import. (ssr, handlers)

    Code example

    Void has no option to inline CSS, so import the stylesheet with Vite's ?inline query 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 with h().

    <!-- 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-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-to

    No image component or optimizer documented; the head guide covers only og:image URLs, 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-imagetools query imports, and write width, height and loading yourself. For remote covers, use @unpic/vue with 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>

    Manual

    Serving 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=srcset imports 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-to

    ISR with routing.revalidate (global or per path), a per-page export const revalidate = 120, an x-revalidate response header, and on-demand purge with revalidate({ paths }) from void/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.revalidate is ignored on Node, Bun and Deno. The client keeps prefetched page data for cacheFor (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 }) from void/isr purges it. On Node, Bun and Deno ISR is ignored, so set Cache-Control with routing.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-to

    <Link href="/dashboard" prefetch> from @void/vue, with strategies 'hover' | 'click' | 'mount' | 'visible' (or an array), an app-wide prefetch.defaultStrategy on voidVue() (default false), hoverDelay (75 ms) and cacheFor, plus router.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 prefetch to <Link>. It loads the destination's code and runs its loader before the click. Strategies are hover, click, mount and visible, and prefetch.defaultStrategy on voidVue() 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-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 with loading, value and error.

    // 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

  • Manual, like 15 of the other 22 frameworks. 7 frameworks score higher.

    Show the how-to

    No preload Link response headers or 103 Early Hints documented. assetTags.preloads puts <link rel="modulepreload"> tags in the HTML <head>, not in headers. Set a Link header by hand with routing.headers or c.header(). (handlers, headers)

    Code example

    Void sends no 103 and no preload Link header. It only puts <link rel="modulepreload"> tags in the HTML. Add the header yourself with routing.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

7/14
  • 1st-party, like 14 of the other 22 frameworks. None scores higher.

    Show the how-to

    Name a page *.island.vue and import interactive components with import Counter from './_Counter' with { island: 'load' }. The strategies are load, visible, idle and media:(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.vue and import each interactive component with an island import 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

  • 1st-party, like 18 of the other 22 frameworks. None scores higher.

    Show the how-to

    Per-page ssr = false (client-mounted shell, loader still runs), prerender = true | false, and revalidate = <seconds> exports in the .server.ts companion. App-wide output: "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.ts can turn off SSR or prerender it, and output: 'static' in void.config.ts prerenders 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 = true

    Source: Void: Pages routing · Void: Static sites · Void: Prerendering

  • 1st-party, like 21 of the other 22 frameworks. None scores higher.

    Show the how-to

    Vue refs and computed track dependencies; a change re-renders only the components that read it. (pages adapters, vue reactivity)

    Code example

    @void/vue keeps Vue's reactivity: a ref change 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

  • Third-party, like 18 of the other 22 frameworks. 2 frameworks score higher.

    Show 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-visualizer to vite.config.ts for 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

  • Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.

    Show the how-to

    No first-party script-loading strategy documented. head() and middleware headDefaults accept script entries, 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 head with defer or async.

    // 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

  • Manual, like 8 of the other 22 frameworks. 14 frameworks score higher.

    Show the how-to

    target is "cloudflare" (default, deployed with void deploy), "node", "bun" or "deno". Non-Cloudflare targets build a Hono server in dist/ssr for 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 target in void.config.ts. cloudflare (the default) deploys with void deploy. node, bun and deno build a Hono server in dist/ssr that 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.js

    Source: Void: Config · Void: Node.js, Bun and Deno

  • Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.

    Show 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

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.

Void (Vue): latest benchmark per build and page
BuildPathPerfFCPRaw FCPLCPTBTCLSSITTIDocHosts
Book list /
baseline/85(good)1.510.27(poor)4.36(good)40(good)0.0001.514.361231/3 Cloudflare
Book page /10145787
baseline/1014578796(good)1.511.34(needs improvement)2.56(good)0(good)0.0002.482.561911/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.

Void (Vue): latest benchmark per build, page and host
BuildPathHostPerfFCPRaw FCPLCPTBTCLSSITTIDocRunsStatus
Void (Vue)
baseline/Cloudflare85(good)1.510.27(poor)4.36(good)40(good)0.0001.514.361233/3OK
baseline/10145787Cloudflare96(good)1.511.34(needs improvement)2.56(good)0(good)0.0002.482.561913/3OK