Is your feature request related to a problem? Please describe.
It would be lovely if configPath key from the configuration supported an array of strings in addition to a single one.
This has no purpose for regular projects, but would be amazing for the ones that uses extends features, such as themes.
Describe the solution you'd like
Keep supporting:
tailwindcss: {configPath: '~/my-config-path.ts'}But also support:
tailwindcss: {configPath: ['~/my-config-path.ts','~/my-config-other-path.ts']}Describe alternatives you've considered
I'm currently using this workaround:
// Import Tailwind config and merge it here.
// Tailwind does not supports supplying multiple config paths.
nuxt.hook('tailwindcss:config', async (config) => {
const tailwindConfig = await import('./tailwind.config')
config = defuArrayFn(config, tailwindConfig)
})
Is your feature request related to a problem? Please describe.
It would be lovely if
configPathkey from the configuration supported an array of strings in addition to a single one.This has no purpose for regular projects, but would be amazing for the ones that uses
extendsfeatures, such as themes.Describe the solution you'd like
Keep supporting:
But also support:
Describe alternatives you've considered
I'm currently using this workaround: