-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
116 lines (107 loc) · 2.21 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
111
112
113
114
115
116
export default defineNuxtConfig({
app: {
head: {
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'format-detection', content: 'telephone=no' },
],
title: 'Nuha',
link: [
{
rel: 'stylesheet',
href: 'https://webfonts.fontstand.com/WF-084743-1b13b14034fdcff6da11465383ec5465.css',
type: 'text/css',
},
],
},
},
modules: [
'@nuxtjs/tailwindcss',
'@nuxtjs/i18n',
'@josango/nuxt3-build-banner',
'@element-plus/nuxt',
'@sidebase/nuxt-auth',
'@nuxt/content',
'@nuxtjs/robots',
],
auth: { globalAppMiddleware: true },
routeRules: {
'/**': { prerender: false },
},
typescript: {
shim: false,
tsConfig: {
include: ['~/types/*.ts'],
},
},
plugins: [
{ src: '~/plugins/use-scroll.ts', ssr: false, mode: 'client' },
{
src: '~/plugins/matomo-plugin.client.js',
ssr: false,
},
],
css: [
'@/assets/css/tailwind.css',
'@/assets/css/fonts/ibm-plex-sans-arabic.css',
'@/assets/css/global.css',
],
i18n: {
locales: [
{
code: 'en',
name: 'English',
iso: 'en-US',
dir: 'ltr',
file: 'en.ts',
},
{
code: 'ar',
name: 'العربية',
iso: 'ar-JO',
dir: 'rtl',
file: 'ar.ts',
},
],
lazy: true,
langDir: 'lang',
defaultLocale: 'en',
baseUrl: 'http://localhost:3000/',
debug: false,
},
runtimeConfig: {
public: {
targetEnv: '',
buildCommitSha: '',
buildCommitLink: '',
buildNumber: '',
buildLink: '',
buildRepoLink: '',
buildTimestamp: '',
matomoSiteId: 19,
matomoHost: 'https://analytics.josa.ngo/',
},
authSecret: '',
github: {
clientId: '',
clientSecret: '',
},
josaOAuth: {
clientId: '',
clientSecret: '',
wellKnown: '',
},
apiUrl: '',
mongodbUri: '',
listMonk: {
apiUrl: '',
user: '',
token: '',
enTemplateId: '',
arTemplateId: '',
listId: '',
},
},
compatibilityDate: '2024-11-26',
})