-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
54 lines (47 loc) · 1.03 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://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
viewport: "width=device-width, initial-scale=1",
charset: "utf-8",
meta: [
{
name: "author",
content: "Hugo Richard",
},
],
},
pageTransition: {
name: "fade",
mode: "out-in",
},
},
runtimeConfig: {
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL,
},
private: {
resendApiKey: process.env.NUXT_PRIVATE_RESEND_API_KEY,
},
},
modules: ['blanked', '@nuxt/content', '@nuxthq/studio'],
css: ['~/main.css', '~/light-theme.css', '~/dark-theme.css'],
colorMode: {
storageKey: 'nuxtlog-color-mode',
preference: "bnw",
fallback: "bnw",
},
routeRules: {
"/": { isr: true, prerender: true },
},
content: {
markdown: {
anchorLinks: false,
},
highlight: {
theme: 'nord',
preload: ['js', 'css', 'html', 'md', 'ts', 'tsx', 'vue'],
}
},
devtools: { enabled: true }
})