update all
This commit is contained in:
@@ -2,10 +2,15 @@
|
||||
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: 'github-dark'
|
||||
theme: {
|
||||
default: 'github-dark',
|
||||
dark: 'github-dark'
|
||||
},
|
||||
preload: ['bash', 'shell', 'sh', 'javascript', 'js', 'typescript', 'ts', 'json', 'md', 'yaml', 'vue'],
|
||||
},
|
||||
markdown: {
|
||||
toc: {
|
||||
@@ -13,5 +18,17 @@ export default defineNuxtConfig({
|
||||
searchDepth: 3
|
||||
}
|
||||
}
|
||||
},
|
||||
app: {
|
||||
head: {
|
||||
charset: 'utf-8',
|
||||
viewport: 'width=device-width, initial-scale=1'
|
||||
}
|
||||
},
|
||||
nitro: {
|
||||
compressPublicAssets: true
|
||||
},
|
||||
experimental: {
|
||||
componentIslands: true
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user