Files
vue3-study/src/main.ts
T
2023-12-01 19:50:25 +08:00

15 lines
352 B
TypeScript

import "./styles/index.less";
import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import router from "./router";
import { install } from "./installComponents";
const app = createApp(App);
app.use(createPinia());
app.use(router);
install(app);
app.mount("#app");
console.log("-------", import.meta.env);