70 lines
1.4 KiB
TypeScript
70 lines
1.4 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
devtools: {
|
|
enabled: false,
|
|
timeline: {
|
|
enabled: true
|
|
}
|
|
},
|
|
|
|
modules: ['@pinia/nuxt', '@nuxt/ui', '@nuxtjs/supabase', "nuxt-editorjs", '@nuxtjs/fontaine', 'nuxt-viewport', 'nuxt-tiptap-editor', '@nuxtjs/leaflet', '@vueuse/nuxt'],
|
|
|
|
ssr: false,
|
|
|
|
imports: {
|
|
dirs: ['stores']
|
|
},
|
|
|
|
extends: [
|
|
'@nuxt/ui-pro'
|
|
],
|
|
|
|
components: [{
|
|
path: '~/components'
|
|
}],
|
|
|
|
build: {
|
|
transpile: ['@vuepic/vue-datepicker']
|
|
},
|
|
|
|
|
|
routeRules: {
|
|
'/printing': {ssr: false}
|
|
|
|
},
|
|
|
|
supabase: {
|
|
key: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV3cHB2Y3hmbHJjc2lidXpzYmlsIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDA5MzgxOTQsImV4cCI6MjAxNjUxNDE5NH0.CkxYSQH0uLfwx9GVUlO6AYMU2FMLAxGMrwEKvyPv7Oo",
|
|
url: "https://uwppvcxflrcsibuzsbil.supabase.co",
|
|
redirect: false
|
|
},
|
|
|
|
vite: {
|
|
optimizeDeps: {
|
|
include: ["@editorjs/editorjs", "dayjs"],
|
|
},
|
|
},
|
|
|
|
ui: {
|
|
icons: ['heroicons', 'mdi', 'simple-icons']
|
|
},
|
|
|
|
colorMode: {
|
|
preference: 'system'
|
|
},
|
|
|
|
|
|
tiptap: {
|
|
prefix: "Tiptap"
|
|
},
|
|
|
|
runtimeConfig: {
|
|
|
|
public: {
|
|
apiBase: '',
|
|
pdfLicense: ''
|
|
}
|
|
},
|
|
|
|
compatibilityDate: '2024-12-18'
|
|
}) |