-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
75 lines (75 loc) · 1.87 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
export default defineNuxtConfig({
alias: {
'#fonts': '.',
'#paintbrush': '.'
},
components: {
dirs: [{ global: true, path: './components' }]
},
content: {
highlight: false,
markdown: {
tags: {
'a': 'content-auto-link-a',
'blockquote': 'highlight',
'code': 'multiline-code',
'code-inline': 'inline-code',
'em': 'content-text-em',
'h1': 'content-text-h1',
'h2': 'content-text-h2',
'h3': 'content-text-h3',
'h4': 'content-text-h4',
'h5': 'content-text-h5',
'h6': 'content-text-h6',
'hr': 'separator',
'img': 'image',
'li': 'content-list-item-li',
'ol': 'content-list-container-ol',
'p': 'content-text-p',
'strong': 'content-text-strong',
'table': 'prose-table',
'tbody': 'prose-tbody',
'td': 'prose-td',
'th': 'prose-th',
'thead': 'prose-thead',
'tr': 'prose-tr',
'ul': 'content-list-container-ul'
}
}
},
i18n: {
defaultLocale: 'en',
detectBrowserLanguage: false,
langDir: 'lang/',
lazy: true,
locales: [
{
code: 'en',
file: 'en-US.json'
},
{
code: 'hu',
file: 'hu-HU.json'
}
]
},
lodash: {
exclude: [ 'memoize' ]
},
modules: [ './modules/icons', './modules/docs', '@nuxtjs/i18n', '@pinia/nuxt', '@pinia-plugin-persistedstate/nuxt', '@nuxt/content', '@vueuse/nuxt', 'nuxt-lodash', '@nuxtjs/html-validator', '@nuxtjs/critters', '@nuxtjs/fontaine', /* '@nuxtjs/ionic', */ '@nuxtjs/partytown' ],
ssr: true,
typescript: {
shim: false
},
vite: {
define: {
__VUE_I18N_FULL_INSTALL__: false,
__VUE_I18N_LEGACY_API__: false,
__INTLIFY_PROD_DEVTOOLS__: true,
__VUE_PROD_DEVTOOLS__: true
},
build: {
chunkSizeWarningLimit: 1024
}
}
})