// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ devtools: {enabled: true}, imports: { dirs: ['stores'] }, extends: [ '@nuxt/ui-pro' ], components: [{ path: '~/components' }, { path: '~/components/common', pathPrefix: false }], build: { transpile: ['@vuepic/vue-datepicker'] }, modules: [ '@pinia/nuxt', '@nuxt/ui', '@nuxt/content', '@nuxtjs/supabase', "nuxt-editorjs", '@nuxtjs/fontaine', '@nuxtjs/google-fonts', '@vite-pwa/nuxt', 'nuxt-viewport', 'nuxt-tiptap-editor' ], routeRules: { '/printing': {ssr: false} }, supabase: { key: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV3cHB2Y3hmbHJjc2lidXpzYmlsIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDA5MzgxOTQsImV4cCI6MjAxNjUxNDE5NH0.CkxYSQH0uLfwx9GVUlO6AYMU2FMLAxGMrwEKvyPv7Oo", url: "https://uwppvcxflrcsibuzsbil.supabase.co" }, vite: { optimizeDeps: { include: ["@editorjs/editorjs", "dayjs"], }, }, ui: { icons: ['heroicons','mdi'] }, colorMode: { preference: 'dark' }, pwa: { manifest: { name: "spaces.software", short_name: "spaces", description: "spaces.software", icons: [ { src: "/icon.png", sizes: "512x512", } ], display: "standalone", theme_color: "green" }, devOptions: { enabled: false, type: "module" } }, tiptap: { prefix: "Tiptap" } })