diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index 84e76702..ca443bfe 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -40,7 +40,11 @@ export default defineNuxtConfig({ } else if (idx === 1 && config) { config.content = config.content ?? [] - Array.isArray(config.content) ? config.content.push('my-content') : config.content.files.push('my-file-content') + + if (Array.isArray(config.content)) + config.content.push('my-content') + else + config.content.files.push('my-file-content') } }, 'tailwindcss:config': (config) => { @@ -72,4 +76,4 @@ export default defineNuxtConfig({ ], compatibilityDate: '2024-07-11', -}) \ No newline at end of file +})