Files
FEDEO/nuxt.config.ts
2024-09-22 12:09:39 +02:00

70 lines
1.7 KiB
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: {
enabled: true,
timeline: {
enabled: true
}
},
ssr:false,
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', '@nuxtjs/leaflet'],
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: 'system'
},
/*pwa: {
manifest: {
name: "FEDEO",
short_name: "FEDEO",
description: "FEDEO",
icons: [
{
src: "/icon.png",
sizes: "512x512",
}
],
display: "standalone",
theme_color: "green"
},
devOptions: {
enabled: false,
type: "module"
}
},*/
tiptap: {
prefix: "Tiptap"
}
})