11 lines
286 B
TypeScript
11 lines
286 B
TypeScript
import { createApp } from "vue";
|
|
import Root from "./Root.vue";
|
|
import TimiWebUI, { axios, VPopup } from "timi-web"; // 本地开发
|
|
|
|
axios.defaults.baseURL = "http://localhost:8091";
|
|
|
|
const app = createApp(Root);
|
|
app.use(TimiWebUI);
|
|
app.directive("popup", VPopup);
|
|
app.mount("#root");
|