ebike-plus-ui/src/main.ts

10 lines
283 B
TypeScript
Raw Normal View History

2024-03-24 17:50:12 +08:00
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
2024-03-25 08:52:37 +08:00
import "virtual:svg-icons-register";
import SvgIcon from "./components/SvgIcon/index.vue"; // 全局svg图标组件
2024-03-24 17:50:12 +08:00
2024-03-25 08:52:37 +08:00
const app = createApp(App);
app.component("SvgIcon", SvgIcon);
app.mount("#app");