We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d42549 commit a7b886aCopy full SHA for a7b886a
playground/nuxt.config.ts
@@ -40,7 +40,11 @@ export default defineNuxtConfig({
40
}
41
else if (idx === 1 && config) {
42
config.content = config.content ?? []
43
- Array.isArray(config.content) ? config.content.push('my-content') : config.content.files.push('my-file-content')
+
44
+ if (Array.isArray(config.content))
45
+ config.content.push('my-content')
46
+ else
47
+ config.content.files.push('my-file-content')
48
49
},
50
'tailwindcss:config': (config) => {
@@ -72,4 +76,4 @@ export default defineNuxtConfig({
72
76
],
73
77
74
78
compatibilityDate: '2024-07-11',
75
-})
79
+})
0 commit comments