-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathnuxt.config.ts
54 lines (53 loc) · 1.12 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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
modules: [
'@nuxtjs/tailwindcss',
'@nuxtjs/color-mode',
'@nuxt/content',
'nuxt-icon',
'nuxt-mailer',
'nuxt-scheduler'
],
tailwindcss: {
cssPath: '~/assets/css/tailwind.css',
configPath: 'tailwind.config.js',
exposeConfig: false,
injectPosition: 0,
viewer: true,
},
colorMode: {
classSuffix: ''
},
content: {
highlight: {
theme: 'github-dark',
preload: [
'vue',
]
},
navigation: {
fields: ['author', 'subject', 'position']
}
},
runtimeConfig: {
mailerUser: '',
mailerPass: '',
mailerLog: '',
mailerDriver: '',
mailerHost: '',
mailerPort: '',
mailerSmtpTls: '',
mailerFromAddress: '',
mailerToAddress: '',
stripeSecretKey: process.env.STRIPE_SECRET_KEY,
db: process.env.DATABASE_URL,
public: {
appDomain: process.env.APP_DOMAIN,
gitHash: process.env.GITHUB_SHA,
releaseVersion: process.env.RELEASE_VERSION,
}
},
experimental: {
writeEarlyHints: false,
}
})