AdonisJS
Serve the Vue application from an AdonisJS catch-all route.
Installation
pnpm add runable vue vue-router @adonisjs/coreConfiguration
// start/routes.ts
import router from "@adonisjs/core/services/router";
import { adonis } from "runable/adapters/adonis";
router.get("/api/health", async () => ({ status: "ok" }));
router.any("*", adonis());adonis() returns a handler that reads the internal Node objects from HttpContext, lets Vite handle development assets, then renders the Runable page.
Declare the catch-all route after more specific AdonisJS routes.
On this page