import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './styles/global.scss'
import App from './App.vue'
import { applyLayoutConfig } from './config/layout'
import { applyThemeConfig } from './config/theme'
import { disableDefaultBehaviors } from './utils/disableDefaultBehaviors'

// 在挂载前应用配置，确保样式变量已就绪。
applyThemeConfig()
applyLayoutConfig()
disableDefaultBehaviors()

const app = createApp(App)

app.use(createPinia())
app.mount('#app')
