-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
37 lines (37 loc) · 912 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: true,
runtimeConfig: {
public: {
cloudflare_analytic_token: process.env.CLOUDFLARE_ANALYTIC_TOKEN,
posthog_key: process.env.POSTHOG_KEY,
posthog_host: process.env.POSTHOG_HOST,
app_url: 'https://naimsolong.com',
}
},
app: {
baseURL: '/', // baseURL: '/<repository>/'
buildAssetsDir: 'build', // don't use "_" at the begining of the folder name to avoids nojkill conflict
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
}
},
content: {
highlight: {
theme: 'github-light',
langs: [
'bash',
'php',
'javascript'
]
}
},
devtools: {
enabled: false,
timeline: {
enabled: false
}
},
modules: ['@nuxt/content', '@nuxtjs/tailwindcss', "@nuxt/image"]
})