-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
45 lines (39 loc) · 1.05 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/content',
'@nuxtjs/tailwindcss',
'nuxt-headlessui',
],
headlessui: {
prefix: 'Headless',
},
app: {
rootId: 'app',
head: {
title: 'The Easiest Documentation Template',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1' },
{ name: 'description', content: 'This template is designed to help you create the most effective documentation for your projects' },
{ name: 'format-detection', content: 'telephone=no' },
{ key: 'og:image', property: 'og:image', content: '/og-image.webp' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
],
},
},
routeRules: {
'/': { prerender: true },
},
content: {
highlight: {
theme: {
default: 'github-dark',
},
},
},
compatibilityDate: '2024-09-04',
devtools: { enabled: true },
})