Skip to content

Commit 37b152b

Browse files
committed
Updated: nuxt config
1 parent 26119c5 commit 37b152b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

nuxt.config.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ export default defineNuxtConfig({
1111
],
1212
},
1313
},
14+
1415
devtools: {
1516
enabled: process.env.DEVTOOLS !== '0',
1617
},
18+
1719
css: [
1820
'@/assets/css/main.sass',
1921
'@/assets/css/common.sass',
2022
],
23+
2124
modules: [
2225
'@nuxtjs/color-mode',
2326
// Must be included before content module
@@ -28,24 +31,28 @@ export default defineNuxtConfig({
2831
'nuxt-anchorscroll',
2932
'nuxt-feedme',
3033
],
34+
3135
runtimeConfig: {
3236
public: {
3337
urlSchema,
3438
urlDomain,
3539
urlBase,
3640
},
3741
},
42+
3843
// Modules
3944
colorMode: {
4045
classSuffix: '',
4146
classPrefix: '',
4247
fallback: 'light',
4348
preference: 'system',
4449
},
50+
4551
// ContentAssets: https://nuxt.com/modules/content-assets#configuration
4652
contentAssets: {
4753
imageSize: 'src',
4854
},
55+
4956
// Content: https://content.nuxtjs.org/api/configuration/
5057
content: {
5158
highlight: {
@@ -64,6 +71,7 @@ export default defineNuxtConfig({
6471
],
6572
},
6673
},
74+
6775
feedme: {
6876
feeds: {
6977
'/feed.atom': { content: true },
@@ -105,11 +113,15 @@ export default defineNuxtConfig({
105113
],
106114
},
107115
},
116+
108117
typescript: {
109118
strict: true,
110119
},
120+
111121
// UnoCSS: See file
112122
unocss: {
113123
configFile: 'unocss.config.ts',
114124
},
115-
})
125+
126+
compatibilityDate: '2025-01-01',
127+
})

0 commit comments

Comments
 (0)