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

Run code when each Vue application is created.

A plugin configures the Vue application before rendering. Use defineVuePlugin() to install a library, provide a value, or register hooks.

// app/plugins/api.ts
export default defineVuePlugin(() => {
  return {
    provide: {
      apiBase: "/api",
    },
  };
});

During SSR, a new Vue application is created for every render. Do not store user state in a shared module variable.

Suffix files to restrict their environment:

app/plugins/
├── analytics.client.ts
├── database.server.ts
└── api.ts

The development server watches this directory and regenerates the registry when a plugin is added, renamed, or removed.

Report an issue Edit this page
globals

Make functions and variables automatically available in application code.

middlewares

Control Vue navigation with global or named middleware.

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