-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
121 lines (119 loc) · 2.77 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
117
118
119
120
121
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: process.env.NODE_ENV === "development" },
debug: process.env.NODE_ENV === "development",
modules: [
"@nuxtjs/tailwindcss",
"@nuxt/content",
"@nuxthq/studio",
"nuxt-icon",
"@vueuse/nuxt",
"nuxt-og-image",
"nuxt-gtag",
"@nuxt/image",
"nuxt-feedme",
"nuxt-icons",
"@nuxtjs/supabase",
"@stefanobartoletti/nuxt-social-share",
"@nuxtjs/mdc",
"nuxt-tiptap-editor",
],
runtimeConfig: {
// private
public: {
// public
},
},
tiptap: {
prefix: "Tiptap", //prefix for Tiptap imports, composables not included
},
content: {
highlight: {
theme: "github-dark",
},
},
components: {
global: true,
dirs: ["~/components"],
},
feedme: {
content: {
feed: {
defaults: {
author: {
email: "[email protected]",
name: "Alexander Classen",
},
title: "the-graet.dev",
link: "https://www.the-great.dev",
favicon: "https://www.the-great.dev/favicon.ico",
image: "https://www.the-great.dev/__og-image__/image/og.png",
description:
"Hi! I'm Alexander Classen, a passionate full-stack developer from Germany, and this is my journey. The journey starts now. Fasten your seat belts and enjoy the ride!",
},
},
item: {
templateRoots: ["content", "blog"],
defaults: {
author: [
{
email: "[email protected]",
name: "Alexander Classen",
},
],
},
mapping: [
["link", "_path"],
["date", "date"],
["image", "https://www.the-great.dev/__og-image__/image/og.png"],
],
},
},
},
app: {
head: {
// meta: [{ name: "robots", content: "noindex, nofollow" }],
titleTemplate: "%s - The Great",
htmlAttrs: {
lang: "en",
},
title: "the-great.dev",
},
pageTransition: { name: "zapp-out", mode: "out-in" },
layoutTransition: { name: "zapp-out", mode: "out-in" },
},
vite: {
vue: {
script: {
defineModel: true,
propsDestructure: true,
},
},
},
site: {
// production URL
url: "https://www.the-great.dev",
},
ogImage: {
fonts: [
{
name: "IBM Plex Sans",
weight: 400,
// path must point to a public font file
path: "/fonts/IBMPlexSans-Medium.ttf",
},
{
name: "Modenine",
weight: 400,
// path must point to a public font file
path: "/fonts/ModeNine.ttf",
},
],
},
gtag: {
enabled: false,
},
supabase: {
redirect: false,
},
});