mirror of
https://github.com/ProudMuBai/GoFilm.git
synced 2026-05-06 20:03:34 +08:00
init
This commit is contained in:
20
client/src/main.ts
Normal file
20
client/src/main.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
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'
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
|
||||
app.use(ElementPlus)
|
||||
// 引入路由
|
||||
app.use(router)
|
||||
|
||||
|
||||
app.mount('#app')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user