import { StringUtils } from "./utils/StringUtils";

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-05-15',
  devtools: { enabled: true },

  css: [
    '@/assets/style.css',
    '@/assets/base-style.css'
  ],

  runtimeConfig: {
    public: {
      api: {
        host: process.env.NUXT_PUBLIC_API_HOST,
        schema: process.env.NUXT_PUBLIC_API_SCHEMA,
        wsSchema: process.env.NUXT_PUBLIC_API_WS_SCHEMA
      }
    }
  },

  app: {
    head: {
      link: [
        { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200' },
        { rel: 'icon', type: 'image/x-icon', href: '/transparent_logo.png' }
      ]
    }
  },

  modules: ['@pinia/nuxt']
});