mirror of
https://github.com/ProudMuBai/GoFilm.git
synced 2026-05-01 23:57:31 +08:00
25 lines
370 B
TypeScript
25 lines
370 B
TypeScript
import {createApp} from 'vue'
|
|
import './style.css'
|
|
import App from './App.vue'
|
|
import { router} from "./router/router";
|
|
// 引入elementPlus
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
// 使用自定义loading
|
|
|
|
|
|
const app = createApp(App)
|
|
|
|
|
|
app.use(ElementPlus)
|
|
// 引入路由
|
|
app.use(router)
|
|
|
|
|
|
|
|
app.mount('#app')
|
|
|
|
export default app
|
|
|
|
|