-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
74 lines (73 loc) · 1.37 KB
/
nuxt.config.ts
File metadata and controls
74 lines (73 loc) · 1.37 KB
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
link: [{ rel: "icon", type: "image/png", href: "/logo.png" }],
},
},
routeRules: {
"/docs/**": { prerender: true },
},
nitro: {
prerender: {
crawlLinks: true,
routes: ["/sitemap.xml", "/robots.txt"],
},
},
compatibilityDate: "2024-11-01",
content: {
watch: {
ws: {
// @ts-ignore
enabled: true,
port: 4000,
showURL: true,
},
},
build: {
markdown: {
highlight: {
theme: "houston",
preload: [
"bash",
"ts",
"js",
"css",
"java",
"groovy",
"sql",
"xml",
"json",
],
},
},
},
},
devtools: { enabled: true },
modules: [
"@nuxtjs/sitemap",
"@nuxt/content",
"@nuxtjs/tailwindcss",
"nuxt-og-image",
"@nuxtjs/google-fonts",
],
site: {
url: "https://authsmith.com",
name: "AuthSmith",
},
css: ["~/assets/css/tailwind.css"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
googleFonts: {
display: "swap",
families: {
"Martian Mono": "100..800",
"Bricolage Grotesque": "200..800",
"JetBrains Mono": "100..800",
},
},
});