Updated vue & nuxt

This commit is contained in:
2024-12-18 20:44:20 +01:00
parent 9e02e1f99d
commit 1af63705ff
3 changed files with 2242 additions and 4166 deletions

View File

@@ -6,42 +6,54 @@ export default defineNuxtConfig({
enabled: true enabled: true
} }
}, },
ssr:false, ssr:false,
imports: { imports: {
dirs: ['stores'] dirs: ['stores']
}, },
extends: [ extends: [
'@nuxt/ui-pro' '@nuxt/ui-pro'
], ],
components: [{ components: [{
path: '~/components' path: '~/components'
}, { }, {
path: '~/components/common', path: '~/components/common',
pathPrefix: false pathPrefix: false
}], }],
build: { build: {
transpile: ['@vuepic/vue-datepicker'] 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'], 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: { routeRules: {
'/printing': {ssr: false} '/printing': {ssr: false}
}, },
supabase: { supabase: {
key: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV3cHB2Y3hmbHJjc2lidXpzYmlsIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDA5MzgxOTQsImV4cCI6MjAxNjUxNDE5NH0.CkxYSQH0uLfwx9GVUlO6AYMU2FMLAxGMrwEKvyPv7Oo", key: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV3cHB2Y3hmbHJjc2lidXpzYmlsIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDA5MzgxOTQsImV4cCI6MjAxNjUxNDE5NH0.CkxYSQH0uLfwx9GVUlO6AYMU2FMLAxGMrwEKvyPv7Oo",
url: "https://uwppvcxflrcsibuzsbil.supabase.co" url: "https://uwppvcxflrcsibuzsbil.supabase.co"
}, },
vite: { vite: {
optimizeDeps: { optimizeDeps: {
include: ["@editorjs/editorjs", "dayjs"], include: ["@editorjs/editorjs", "dayjs"],
}, },
}, },
ui: { ui: {
icons: ['heroicons','mdi','simple-icons'] icons: ['heroicons','mdi','simple-icons']
}, },
colorMode: { colorMode: {
preference: 'system' preference: 'system'
}, },
/*pwa: { /*pwa: {
manifest: { manifest: {
name: "FEDEO", name: "FEDEO",
@@ -64,7 +76,7 @@ export default defineNuxtConfig({
},*/ },*/
tiptap: { tiptap: {
prefix: "Tiptap" prefix: "Tiptap"
} },
compatibilityDate: '2024-12-18'
}) })

6264
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,10 +14,10 @@
"@nuxtjs/leaflet": "^1.2.3", "@nuxtjs/leaflet": "^1.2.3",
"@nuxtjs/supabase": "^1.1.4", "@nuxtjs/supabase": "^1.1.4",
"@vite-pwa/nuxt": "^0.3.3", "@vite-pwa/nuxt": "^0.3.3",
"nuxt": "^3.8.0", "nuxt": "^3.14.1592",
"nuxt-tiptap-editor": "^1.2.0", "nuxt-tiptap-editor": "^1.2.0",
"vite-plugin-pwa": "^0.17.3", "vite-plugin-pwa": "^0.17.3",
"vue": "^3.3.7", "vue": "^3.5.13",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
}, },
"dependencies": { "dependencies": {