-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
60 lines (60 loc) · 1.07 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
export default defineNuxtConfig({
telemetry: false,
devtools: false,
ssr: true,
css: [
'~/node_modules/lite-youtube-embed/src/lite-yt-embed.css',
],
plugins: [
'~/plugins/silentbox.js',
],
modules: [
'@nuxt/content',
'@nuxt/image-edge',
'@nuxtjs/google-fonts',
'@vueuse/nuxt',
"@nuxt/image"
],
googleFonts: {
download: true,
display: 'auto',
families: {
Lora: [400, 700],
}
},
content: {
highlight: {
theme: 'solarized-light'
}
},
spaLoadingTemplate: false,
image: {
cloudinary: {
baseURL: 'https://res.cloudinary.com/smokeyfro/image/upload/',
use_filename: true,
unique_filename: false
},
presets: {
journal: {
modifiers: {
format: 'webp',
fit: 'cover',
quality: '80',
},
},
},
},
nitro: {
prerender: {
routes: ['/sitemap.xml']
}
},
build: {
transpile: ['lite-youtube'],
},
vue: {
compilerOptions: {
isCustomElement: tag => ['lite-youtube'].includes(tag),
},
}
})