import '@maestro/core/assets/layout/layout.scss'
import '@maestro/core/assets/styles.scss'
import 'primeicons/primeicons.css'

import { createApp } from 'vue'
import { App, router, installMaestro } from '@maestro/core'
import { applyThemeFromLayoutConfig } from '@maestro/core/themeBootstrap.js'
import axios from 'axios'

axios.defaults.withCredentials = true
axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'

const app = createApp(App)
app.use(router)
installMaestro(app)
app.mount('#app')

applyThemeFromLayoutConfig()
