123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- import tailwindTypography from '@tailwindcss/typography'
- // https://nuxt.com/docs/api/configuration/nuxt-config
- export default defineNuxtConfig({
- modules: [
- 'nuxt-og-image',
- '@nuxtjs/color-mode',
- '@nuxt/content',
- '@nuxtjs/plausible',
- '@nuxtjs/tailwindcss',
- '@vueuse/nuxt'
- ],
- content: {
- documentDriven: true,
- experimental: {
- search: {
- indexed: true
- }
- },
- markdown: {
- tags: {
- h2: 'AppHeading2',
- h3: 'AppHeading3',
- h4: 'AppHeading4'
- }
- },
- highlight: {
- theme: {
- // Default theme (same as single string)
- default: 'github-dark',
- // Theme used if `html.dark`
- dark: 'github-dark',
- // Theme used if `html.sepia`
- sepia: 'monokai'
- },
- preload: [
- 'dockerfile',
- 'ini',
- 'php'
- ]
- },
- },
- colorMode: {
- classSuffix: ''
- },
- nitro: {
- prerender: {
- routes: [
- '/sitemap.xml',
- '/api/search.json'
- ]
- }
- },
- ogImage: {
- componentDirs: ['~/components/Global/OgImage'],
- },
- plausible: {
- apiHost: 'https://a.521dimensions.com'
- },
- runtimeConfig: {
- public: {
- basePath: process.env.NUXT_APP_BASE_URL || '/',
- domain: process.env.TOP_LEVEL_DOMAIN
- }
- },
- site: {
- url: process.env.BASE_PATH,
- },
- tailwindcss: {
- config: {
- plugins: [tailwindTypography]
- },
- cssPath: '~/assets/css/tailwind.css',
- }
- })
|