示例工程 24-vue3-rewrite

24-vue3-rewrite/app/src/main.ts

typescript · 0.2 KB

import { createApp } from "vue";
import App from "./App.vue";
import "./styles/globals.css";

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

createApp(App).mount(root);