forked from atinux/content-wind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
37 lines (36 loc) · 934 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
import { defineNuxtConfig } from 'nuxt'
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
modules: [
'@nuxt-themes/config/module',
'@nuxtjs/design-tokens/module',
'@nuxt/content',
'@nuxtjs/tailwindcss',
'@nuxtjs/color-mode'
],
// https://color-mode.nuxtjs.org
colorMode: {
classSuffix: ''
},
// https://content.nuxtjs.org
content: {
documentDriven: true,
highlight: {
// See the available themes on https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-theme
theme: 'dracula'
}
},
// Coming soon in RC7
experimental: {
viteNode: true
},
app: {
theme: {
meta: {
name: 'Content Wind',
author: 'Sebastien Chopin (@Atinux)',
description: 'A lightweight Nuxt theme to build a Markdown driven website, based on Nuxt Content, TailwindCSS and Iconify ✨'
}
}
}
})