Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

762 B
Raw Blame
import { createApp } from "vue";
import ExportApp from "./ExportApp.vue";
import { readPayload } from "./exportPayload";
import "./export.css";

try {
  createApp(ExportApp, { payload: readPayload() }).mount("#app");
} catch (error) {
  // A blank page would be the reader's only clue that the file is damaged.
  // English is not a choice here: `lang` lives inside the payload that just
  // failed to parse, so there is no locale to translate into.
  const message = document.createElement("p");
  message.style.cssText = "margin:2rem;font-family:system-ui,sans-serif";
  message.textContent = `This documentation file could not be read: ${error instanceof Error ? error.message : String(error)}`;
  document.querySelector("#app")?.replaceChildren(message);
}