35 lines
787 B
TypeScript
35 lines
787 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
devtools: { enabled: true },
|
|
modules: ['@nuxt/content', '@nuxtjs/tailwindcss'],
|
|
css: ['~/assets/css/code.css'],
|
|
content: {
|
|
// https://content.nuxtjs.org/api/configuration
|
|
highlight: {
|
|
theme: {
|
|
default: 'github-dark',
|
|
dark: 'github-dark'
|
|
},
|
|
preload: ['bash', 'shell', 'sh', 'javascript', 'js', 'typescript', 'ts', 'json', 'md', 'yaml', 'vue'],
|
|
},
|
|
markdown: {
|
|
toc: {
|
|
depth: 3,
|
|
searchDepth: 3
|
|
}
|
|
}
|
|
},
|
|
app: {
|
|
head: {
|
|
charset: 'utf-8',
|
|
viewport: 'width=device-width, initial-scale=1'
|
|
}
|
|
},
|
|
nitro: {
|
|
compressPublicAssets: true
|
|
},
|
|
experimental: {
|
|
componentIslands: true
|
|
}
|
|
})
|