// https://nuxt.com/docs/api/configuration/nuxt-config

import Aura from '@primeuix/themes/aura';

export default defineNuxtConfig({
    compatibilityDate: '2025-07-15',
    devtools: {enabled: true},
    modules: [
        '@nuxt/eslint',
        '@nuxt/image',
        '@nuxt/fonts',
        '@primevue/nuxt-module',
    ],
    eslint: {
        checker: true,

        config: {
            stylistic: true
        }
    },

    primevue: {
        autoImport: false,
        options: {
            ripple: false,
            inputVariant: 'filled',
            theme: {
                preset: Aura,
            }
        }
    },
    vite: {
        css: {
            preprocessorOptions: {
                scss: {
                    additionalData: `@forward '~/assets/global';
                    @use '~/assets/variables' as *;`
                }
            }
        }
    }
})
