suno/src/main.js
2024-07-17 16:32:57 +08:00

21 lines
510 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import "./assets/main.css"
import { createApp } from "vue"
import ElementPlus from "element-plus"
import "element-plus/dist/index.css"
// 如果您正在使用CDN引入请删除下面一行。
import * as ElementPlusIconsVue from "@element-plus/icons-vue"
import App from "./App.vue"
import router from "./router"
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component)
}
app.use(ElementPlus)
app.use(router)
app.mount("#app")