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
      .output.apptsconfig.app.jsonapppageslayoutscomponentscomposablesglobalspluginsmiddlewarescssapp.vueerror.vuemodulesnode_modulespublic.env.gitignorerunable.config.tsserver.tspackage.jsontsconfig.jsontsconfig.node.json

app/globals

Make functions and variables automatically available in application code.

Exports from app/globals/ can be used without manual imports in the Vue application.

// app/globals/formatPrice.ts
export function formatPrice(value: number) {
  return new Intl.NumberFormat("en-US", {
    style: "currency",
    currency: "USD",
  }).format(value);
}
<template>
  <span>{{ formatPrice(29.9) }}</span>
</template>

Unlike a composable, a global does not need reactive state or the Vue lifecycle. Prefer pure, easily tested functions.

Runable scans JavaScript and TypeScript files, generates .app/globals.d.ts, then transforms free references into imports. Avoid overly generic names that could conflict with local variables or browser APIs.

Report an issue Edit this page
composables

Share auto-imported Vue logic across components and pages.

plugins

Run code when each Vue application is created.

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