-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
57 lines (46 loc) · 1.03 KB
/
nuxt.config.ts
File metadata and controls
57 lines (46 loc) · 1.03 KB
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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
ssr: true,
app: {
},
css: [
'~/assets/style.scss',
],
dir: {
public: 'docs',
},
modules: [
'@nuxt/image',
'@nuxt/content',
],
router: {
},
content: {
// content config https://content.nuxtjs.org/api/configuration/
documentDriven: {
layoutFallbacks: ['default'],
},
locales: ['ja'],
defaultLocale: 'ja',
contentHead: false,
},
nitro: {
// nitro config
prerender: {
routes: [
'/sitemap.xml', // https://content.nuxtjs.org/guide/recipes/sitemap
]
}
},
image: {
// image config https://image.nuxtjs.org/configuration
provider: 'netlify',
screens: { smp: 399.99, sm: 575.99, md: 767.99, lg: 991.99, xl: 1199.99, xxl: 1399.99, '2xl': 1399.99, '4k': 4096, max: 8192 },
densities: [1, 2],
format: ['avif', 'webp'],
},
plugins: [
{ src: '~/plugins/vercel.ts', mode: 'client' },
],
compatibilityDate: '2024-08-14',
});