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

RunableLayout

Load and apply the layout selected in the route metadata.

RunableLayout reads route.meta.layout, loads the matching layout, then renders its default slot inside it.

<template>
  <RunableLayout>
    <RunablePage />
  </RunableLayout>
</template>

Select the layout from a page:

definePageMeta({ layout: "dashboard" });

The value accepts four forms:

ValueEffect
omittedLoads default.vue
"dashboard"Loads app/layouts/dashboard.vue
{ name, props }Loads the layout and passes props to it
falseRenders the content directly without a layout
Report an issue Edit this page
RunableLink

Create typed links that navigate with Vue Router.

ClientOnly

Render browser-dependent content only after Vue has mounted.

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