初始化:创建基于 Nuxt Content 的博客项目

This commit is contained in:
zibright
2025-07-22 16:15:28 +08:00
commit 0e18cc8790
9 changed files with 10050 additions and 0 deletions

17
nuxt.config.ts Normal file
View File

@@ -0,0 +1,17 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxt/content', '@nuxtjs/tailwindcss'],
content: {
// https://content.nuxtjs.org/api/configuration
highlight: {
theme: 'github-dark'
},
markdown: {
toc: {
depth: 3,
searchDepth: 3
}
}
}
})