mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-10 17:42:50 +08:00
26 lines
521 B
JavaScript
26 lines
521 B
JavaScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import { createVuetify } from 'vuetify'
|
|
import * as components from 'vuetify/components'
|
|
import * as directives from 'vuetify/directives'
|
|
import defaults from './vuetify/defaults'
|
|
import theme from './vuetify/theme'
|
|
import 'vuetify/styles'
|
|
|
|
// 创建Vuetify实例
|
|
const vuetify = createVuetify({
|
|
components,
|
|
directives,
|
|
theme,
|
|
defaults
|
|
})
|
|
|
|
// 创建应用
|
|
const app = createApp(App)
|
|
|
|
// 使用插件
|
|
app.use(vuetify)
|
|
|
|
// 挂载应用
|
|
app.mount('#app')
|