// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ devtools: { enabled: true }, css: [ '~/assets/css/app.scss', '~/assets/css/tailwind.css', ], plugins: [ '~/plugins/third' ], postcss: { plugins: { tailwindcss: {}, autoprefixer: {}, }, }, ssr: false, nitro: { devProxy: { "/api": { target: "http://localhost:4000/api", changeOrigin: true, ws: true, }, '/fs': { target: 'http://localhost:4000/fs', changeOrigin: true, ws: true, }, '/media': { target: 'http://localhost:4000/media', changeOrigin: true, ws: true, }, }, }, app: { head: { meta: [ { name: 'viewport', content: 'width=device-width, initial-scale=1' }, { name: 'keywords', content: 'veypi, oneauth' } ], title: 'OneAuth', noscript: [ { children: 'JavaScript is required' } ], link: [ { rel: 'icon', type: 'image/ico', href: 'favicon.svg' } ], script: [ { src: '/icon.js' }, ] }, }, modules: ["@pinia/nuxt", '@nuxt/ui', '@nuxtjs/tailwindcss'], compatibilityDate: '2024-10-16' })