Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

408 B
Raw Blame
import { createApp, type Component } from "vue";

import { assertFixture } from "../shared/harness";
import type { CaseSpec, SmokeMeta } from "../shared/types";

export function mountVue(component: Component, meta: SmokeMeta, spec: CaseSpec): void {
  const container = document.getElementById("app");
  assertFixture(container, "Vue root exists");
  createApp(component, { meta, spec }).mount(container);
}