export default defineNuxtConfig({
  modules: [
    'nuxt-quasar-ui',
    '@pinia/nuxt',
    '@nuxtjs/tailwindcss'
  ],
  quasar: {
    plugins: [
      'Notify',
      'Dialog',
      'Loading',
      'LocalStorage'
    ],
    config: {
      brand: {
        primary: '#3B82F6',
        secondary: '#10B981',
        accent: '#F59E0B',
        dark: '#1F2937',
        positive: '#10B981',
        negative: '#EF4444',
        info: '#3B82F6',
        warning: '#F59E0B'
      }
    }
  },
  css: [
    '~/assets/css/main.css'
  ],
  runtimeConfig: {
    public: {
      apiBaseUrl: process.env.NUXT_PUBLIC_API_BASE_URL
    }
  },
  devtools: { enabled: true },
  app: {
    head: {
      title: 'E-Learning System',
      meta: [
        { charset: 'utf-8' },
        { name: 'viewport', content: 'width=device-width, initial-scale=1' }
      ]
    }
  }
});