init project

This commit is contained in:
Timi
2025-11-05 15:21:23 +08:00
parent e52250367a
commit dc2e923e99
55 changed files with 6815 additions and 3 deletions

10
examples/main.ts Normal file
View File

@@ -0,0 +1,10 @@
import { createApp } from "vue";
import Root from "./Root.vue";
import common4Web, { axios, VPopup } from "common4web"; // 本地开发
axios.defaults.baseURL = "http://localhost:8091";
const app = createApp(Root);
app.use(common4Web);
app.directive("popup", VPopup);
app.mount("#root");