-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
110 lines (98 loc) · 2.83 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
export default defineNuxtConfig({
devtools: { enabled: false },
ssr: true,
runtimeConfig: {
public: {
baseUrl: 'http://localhost:3000',
apiUrl: 'http://localhost:3030'
}
},
app: {
head: {
title: '',
meta: [
{ hid: 'og:image', property: 'og:image', content: '' },
{ hid: 'og:title', property: 'og:title', content: '' },
{ hid: 'og:description', property: 'og:description', content: '' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicons/favicon.ico' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-57x57.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-114x114.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-72x72.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-144x144.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-60x60.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-120x120.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-76x76.png' },
{ rel: 'apple-touch-icon-precomposed', href: '/favicons/apple-touch-icon-152x152.png' },
{ rel: 'icon', type: 'image/png', href: '/favicons/favicon-196x196.png' },
{ rel: 'icon', type: 'image/png', href: '/favicons/favicon-96x96.png' },
{ rel: 'icon', type: 'image/png', href: '/favicons/favicon-32x32.png' },
{ rel: 'icon', type: 'image/png', href: '/favicons/favicon-16x16.png' },
{ rel: 'icon', type: 'image/png', href: '/favicons/favicon-128.png' }
]
}
},
experimental: {
reactivityTransform: true
},
typescript: {
shim: false
},
css: [
'~/styles/main.scss'
],
modules: [
'@pinia/nuxt',
'nuxt-gtag',
'@nuxt/content',
'vuetify-nuxt-module',
'nuxt-feathers-pinia',
'@nuxt/fonts'
],
vuetify: {
moduleOptions: {
styles: { configFile: '/styles/settings.scss' }
},
vuetifyOptions: {
defaults: {},
icons: {
defaultSet: 'mdi'
},
theme: {
defaultTheme: 'light',
themes: {
light: {
dark: false,
colors: {
}
}
// You can also define a dark theme
// dark: {
// dark: true,
// colors: {
// primary: '#2196F3'
// // ... other colors
// }
// }
}
}
}
},
// gtag: {
// id: 'G-'
// },
components: {
global: true,
dirs: [
{
path: '~/components',
pathPrefix: false
}
]
},
imports: {
dirs: ['composables/**', 'stores/**']
},
compatibilityDate: '2024-11-12'
})