// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ modules: [ '@nuxt/eslint', '@nuxt/ui' ], devtools: { enabled: true }, css: ['~/assets/css/main.css'], routeRules: { '/': { prerender: process.env.NODE_ENV !== 'production' } }, runtimeConfig: { public: { apiBase: process.env.NUXT_PUBLIC_API_BASE || 'http://localhost:8080/api/v1', }, }, devServer: { host: '0.0.0.0', }, vite: { server: { allowedHosts: true, hmr: { protocol: 'ws', }, }, }, compatibilityDate: '2025-01-15', eslint: { config: { stylistic: { commaDangle: 'never', braceStyle: '1tbs' } } } })