-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
56 lines (54 loc) · 1.19 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
import { setAbsoluteSqliteDatabaseUrlForPrisma } from './prisma/utils'
setAbsoluteSqliteDatabaseUrlForPrisma()
export default defineNuxtConfig({
auth: {
globalAppMiddleware: true
},
build: {
transpile: ['trpc-nuxt']
},
runtimeConfig: {
version: '0.0.1',
public: {
githubClientId: '',
googleClientId: '',
defaultCountry: ''
},
githubClientSecret: '',
googleClientSecret: '',
sendgridApiKey: '',
sendgridEmail: '',
authSecret: '',
apiKeySecret: '',
apiKeyInitVector: '',
siteName: 'Digital Actions'
},
modules: [
'@nuxtjs/tailwindcss',
'nuxt-svgo',
'@bg-dev/nuxt-naiveui',
'@sidebase/nuxt-auth',
'@nuxtjs/i18n',
'nuxt3-leaflet',
'@nuxtseo/module'
],
extends: ['@sidebase/core'],
typescript: {
shim: false
},
i18n: {
locales: ['en'],
defaultLocale: 'en'
},
site: {
url: process.env.NUXT_SITE_URL,
name: process.env.NUXT_SITE_NAME,
description: process.env.NUXT_SITE_DESCRIPTION,
defaultLocale: process.env.NUXT_SITE_DEFAULT_LOCALE || 'en-GB',
identity: {
type: 'Organization'
},
twitter: process.env.NUXT_SITE_TWITTER,
trailingSlash: true
}
})