Updated vue & nuxt
This commit is contained in:
138
nuxt.config.ts
138
nuxt.config.ts
@@ -1,70 +1,82 @@
|
||||
// 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}
|
||||
devtools: {
|
||||
enabled: true,
|
||||
timeline: {
|
||||
enabled: true
|
||||
}
|
||||
},
|
||||
|
||||
},
|
||||
supabase: {
|
||||
key: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV3cHB2Y3hmbHJjc2lidXpzYmlsIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDA5MzgxOTQsImV4cCI6MjAxNjUxNDE5NH0.CkxYSQH0uLfwx9GVUlO6AYMU2FMLAxGMrwEKvyPv7Oo",
|
||||
url: "https://uwppvcxflrcsibuzsbil.supabase.co"
|
||||
},
|
||||
vite: {
|
||||
optimizeDeps: {
|
||||
include: ["@editorjs/editorjs", "dayjs"],
|
||||
},
|
||||
},
|
||||
ui: {
|
||||
icons: ['heroicons','mdi','simple-icons']
|
||||
},
|
||||
colorMode: {
|
||||
preference: 'system'
|
||||
},
|
||||
/*pwa: {
|
||||
manifest: {
|
||||
name: "FEDEO",
|
||||
short_name: "FEDEO",
|
||||
description: "FEDEO",
|
||||
icons: [
|
||||
{
|
||||
src: "/icon.png",
|
||||
sizes: "512x512",
|
||||
}
|
||||
ssr:false,
|
||||
|
||||
],
|
||||
display: "standalone",
|
||||
theme_color: "green"
|
||||
},
|
||||
devOptions: {
|
||||
enabled: false,
|
||||
type: "module"
|
||||
}
|
||||
},*/
|
||||
tiptap: {
|
||||
prefix: "Tiptap"
|
||||
}
|
||||
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','simple-icons']
|
||||
},
|
||||
|
||||
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"
|
||||
},
|
||||
|
||||
compatibilityDate: '2024-12-18'
|
||||
})
|
||||
6266
package-lock.json
generated
6266
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -14,10 +14,10 @@
|
||||
"@nuxtjs/leaflet": "^1.2.3",
|
||||
"@nuxtjs/supabase": "^1.1.4",
|
||||
"@vite-pwa/nuxt": "^0.3.3",
|
||||
"nuxt": "^3.8.0",
|
||||
"nuxt": "^3.14.1592",
|
||||
"nuxt-tiptap-editor": "^1.2.0",
|
||||
"vite-plugin-pwa": "^0.17.3",
|
||||
"vue": "^3.3.7",
|
||||
"vue": "^3.5.13",
|
||||
"vue-router": "^4.2.5"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user