// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ modules: [ '@nuxt/eslint', '@nuxt/image', '@nuxt/ui-pro', '@nuxt/content', 'nuxt-og-image', 'nuxt-llms' ], devtools: { enabled: true }, css: ['~/assets/css/main.css'], content: { build: { markdown: { toc: { searchDepth: 1 } }, pathMeta: { slugifyOptions: { // Keep everything except invalid chars, this will preserve Chinese characters remove: /[$*+~()'"!\-=#?:@.]/g } } }, preview: { dev: true, api: 'https://api.nuxt.studio' } }, compatibilityDate: '2024-07-11', nitro: { prerender: { routes: [ '/' ], crawlLinks: true, autoSubfolderIndex: false } }, eslint: { config: { stylistic: { commaDangle: 'never', braceStyle: '1tbs' } } }, icon: { clientBundle: { scan: true, sizeLimitKb: 512 } } })