Introduction

ubean is a full-stack Vue meta-framework that combines Vite’s developer experience, Hono’s portable server runtime, and Vue’s SSR capabilities into a single cohesive platform.

What is ubean?

ubean (pronounced “you-bean”) is built on Vite, Hono, and Vue 3, fusing void’s Inertia-style SSR page routing with Nitro’s cross-platform deployment capabilities. It is designed to give Vue developers a batteries-included framework with first-class TypeScript support, file-based routing, and a modular extension system.

Key Features

  • Full-stack SSR — Vue SSR with Inertia-style page routing, islands architecture, and native view transitions.
  • File-based Routing — Typed API routes (defineHandler) and page routes (definePage macro) with auto-generated type-safe route helpers.
  • Islands Architecture — Partial hydration via the v-client.* directive (v-client.load|idle|visible|media|only), auto-registered and auto-hydrated.
  • Multi-platform Deploy — Presets for Node, Cloudflare, Vercel, Netlify, Bun, and Deno with a capability matrix.
  • DevTools — An iframe-based inspector panel with Pages, API, Middleware, Cron, Env, and an AI assistant.
  • Built-in i18n — vue-i18n 11 with four compact-prefix routing strategies and SSR hydration.
  • Markdown Pages — First-class .md page support with frontmatter, shiki code highlighting, and per-page SEO.
  • SSG / Prerender — Static site generation for SEO-critical and read-mostly pages.

Architecture at a Glance

┌─────────────────────────────────────────────────┐
│                   ubean app                     │
│  src/pages/    src/layouts/   src/components/   │
│  src/routes/   src/middleware/  src/crons/      │
└───────────────────┬─────────────────────────────┘
                    │
         ┌──────────┴──────────┐
         ▼                     ▼
   Vite dev server        Hono server
   (middleware mode)      (portable runtime)
         │                     │
         └──────────┬──────────┘
                    ▼
            Platform presets
   (node / cloudflare / vercel / …)

Extension Packages

ubean ships with optional extension packages under the @ubean/ scope:

PackagePurpose
@ubean/authAuthentication (better-auth integration with email/password fallback)
@ubean/iconLocal SVG icon collections with Iconify API fallback
@ubean/integrations/pwaProgressive Web App (manifest + service worker)
@ubean/imageImage optimization and transformation
@ubean/contentContent collections and Markdown processing
@ubean/integrations/fontsFont optimization and subsetting
@ubean/integrations/electronElectron desktop app integration
@ubean/integrations/uiVeanUI integration (component resolver + styles)
@ubean/integrations/piniaPinia state management with SSR hydration helpers

The PWA, fonts, Electron, UI, and Pinia integrations are subpaths of @ubean/integrations — they are not standalone packages.

Next Steps