import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import PrimeVue from 'primevue/config';

// style
import Aura from '@primeuix/themes/aura';
import './style.scss';
import 'primeflex/primeflex.css'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(PrimeVue, {
    // https://primevue.org/theming/styled/
    theme: {
        preset: Aura,
        options: {
            prefix: 'p',
            // darkModeSelector: 'system',
            cssLayer: false
        }
    }
 })

app.mount('#app')
