初始化:创建基于 Nuxt Content 的博客项目
This commit is contained in:
17
nuxt.config.ts
Normal file
17
nuxt.config.ts
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user