示例工程 34-global-shortcuts-autostart

34-global-shortcuts-autostart/app/src/main.ts

typescript · 0.2 KB

import { mountApp } from "./App";
import "./styles/globals.css";
import "./styles/app.css";

const root = document.getElementById("app");
if (!root) throw new Error("missing #app");

mountApp(root);