// import 'default-passive-events'

import { createHead } from '@unhead/vue/client'
import { createPinia } from 'pinia'
import { createApp } from 'vue'

import App from './App.vue'
import global from './plugin/global'
import vant from './plugin/vant'
import router from './router'
import {i18n} from '@/i18n'

import 'uno.css'
import 'vue-cropper/dist/index.css'
import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import 'vant/es/image-preview/style'

import './assets/scss/global/global.scss'
import './assets/scss/style.scss'

const app = createApp(App)
const store = createPinia()
const head = createHead()

app.use(i18n).use(store).use(router).use(head).use(vant).use(global)

app.mount('#app')
