Runable v1.0.0-alpha.20
Why Runable? Docs Modules Work with AI Blog About Changelog
  • 01Why Runable?
  • 02Docs
  • 03Modules
  • 04Work with AI
  • 05Blog
  • 06About
  • 07Changelog
Vue without a fixed server runtime.
Getting Started Structure Integrations Guide MCP API
  • Getting Started Structure Integrations Guide MCP API
Components
  • RunablePage
  • RunableLink
  • RunableLayout
  • ClientOnly
Composables
  • useAsyncData
  • useFetch
  • useConfig
  • useRuntime
  • useApp
  • useAppError
  • useRouter
  • useRoute
  • navigateTo
  • onBeforeRouteUpdate
  • injectHead
  • useHead
  • useSeoMeta
  • useHeadSafe
  • useSchemaOrg
Globals
  • $fetch
  • definePageMeta
  • defineVueMiddleware
  • defineVuePlugin
  • Vue APIs

ClientOnly

Render browser-dependent content only after Vue has mounted.

ClientOnly prevents its default slot from being rendered on the server. Use it for libraries that access window, the DOM, or browser-only APIs.

<ClientOnly fallback="Loading…" fallback-tag="span">
  <BrowserChart />
</ClientOnly>

Props

PropTypeDescription
fallbackstringText displayed before mounting
fallbackTagstringFallback element, span by default
placeholderstringAlias for fallback
placeholderTagstringAlias for fallbackTag

The fallback or placeholder slot replaces the text:

<ClientOnly>
  <Map />

  <template #fallback>
    <p>Preparing the map…</p>
  </template>
</ClientOnly>
Report an issue Edit this page
RunableLayout

Load and apply the layout selected in the route metadata.

Composables

Reference for the auto-imported Runable, Vue Router, Unhead, and Schema.org composables.

On this page

  • 1Props
Runable

The Vue framework that brings productive conventions to any backend.

Product

  • Why Runable
  • Documentation
  • Installation
  • Integrations

Project

  • About
  • Blog
  • Changelog
  • Sponsor

Community

  • GitHub
  • Issues
  • Discussions
  • Bluesky

© 2026 Runable. Released under the MIT License.

Open source Built with Vue and Runable