mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-12 08:08:46 +08:00
20 lines
499 B
TypeScript
20 lines
499 B
TypeScript
import { createApp } from "vue";
|
|
import { createPinia } from "pinia";
|
|
import ElementPlus from "element-plus";
|
|
import "element-plus/dist/index.css";
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
import App from "./App.vue";
|
|
import router from "./router/index";
|
|
|
|
const app = createApp(App);
|
|
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component)
|
|
}
|
|
|
|
app.use(createPinia());
|
|
app.use(router);
|
|
app.use(ElementPlus);
|
|
|
|
app.mount("#app");
|