import { createApp } from 'vue'
import { MotionPlugin } from '@vueuse/motion'
import App from './App.vue'
import router from './router/index.js'
import { installThemeSkin } from './composables/useThemeSkin.js'
import { installSessionNavigation } from './composables/useSystemState.js'
import './plugins/elementPlusStyles.js'
import './assets/styles/element-plus-theme.css'
import './assets/styles/detail-page-corners.css'
import './assets/styles/components/enterprise-page-shell.css'

const app = createApp(App)

installThemeSkin()
installSessionNavigation(router)

app.use(MotionPlugin)
app.use(router)

app.mount('#app')
