-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
109 lines (105 loc) · 2.75 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import { setAbsoluteSqliteDatabaseUrlForPrisma } from './prisma/utils'
setAbsoluteSqliteDatabaseUrlForPrisma()
export default defineNuxtConfig({
extends: ['nuxt-seo-kit', '@sidebase/core', './auth'],
nitro: {
experimental: {
openAPI: true
}
},
runtimeConfig: {
version: '0.0.1',
indexable: true,
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://chatino.leamsigc.com',
siteName: 'Chatino resources ',
siteDescription: 'Discover the most popular Chatino Language podcasts and immerse yourself in the world of Chatino Language and culture.',
language: 'en' // prefer more explicit language codes like `en-AU` over `en`
}
},
modules: [
'@nuxtjs/tailwindcss',
'nuxt-svgo',
'@huntersofbook/naive-ui-nuxt',
'@nuxt/content',
'@vueuse/nuxt',
'@unocss/nuxt',
'@nuxtjs/color-mode',
'@unlighthouse/nuxt',
'nuxt-schema-org',
'@nuxt/image-edge',
// 'nuxt-security',
'@nuxt/devtools',
'@nuxthq/studio'
],
typescript: {
shim: false
},
colorMode: {
classSuffix: ''
},
unocss: {
attributify: true,
icons: true,
components: false
},
content: {
// documentDriven: {
// layoutFallbacks: ['default'],
// navigation: true,
// page: true,
// surround: true,
// injectPage: true,
// },
highlight: {
// See the available themes on https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-theme
theme: {
white: 'github-light', // Theme used if `html.dark`
dark: 'github-dark', // Theme used if `html.sepia`
default: 'monokai'
},
preload: ['tsx', 'json', 'sh', 'js']
},
navigation: {
fields: ['navLabel']
}
// watch: {
// ws: { port: 4000, showUrl: true },
// },
// locales: ['en', 'es'],
// defaultLocale: 'en',
// sources: ['content', {
// name: 'es',
// prefix: '/es',
// // All contents inside this source will be prefixed with `/fa`
// driver: 'fs', // ...driverOptions
// base: resolve(__dirname, 'content-es'), // Path for source directory
// },
// {
// name: 'en',
// prefix: '',
// // All contents inside this source will be prefixed with `/fa`
// driver: 'fs', // ...driverOptions
// base: resolve(__dirname, 'content'), // Path for source directory
// }
// ],
},
unlighthouse: {
scanner: {
// simulate a desktop device
device: 'mobile'
}
},
// linkChecker: {
// crawlLinks: true,
// failOn404: true,
// exclude: [
// '/blogs'
// ]
// },
schemaOrg: {
// set to your production domain
host: 'https://chatino.leamsigc.com',
canonicalHost: 'https://chatino.leamsigc.com'
}
})