tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Export tailwind config file

Open tobiasdiez opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

As outlined at https://tailwindcss.nuxtjs.org/tailwind/editor-support, the vscode tailwind extension has some limitations around the config file. In particular, it does not work if the config is provided in nuxt.config.ts.

Describe the solution you'd like

Write a dummy config file with the merged config to .nuxt/tailwind.config.cjs, which then can be used with the vscode extension via tailwindCSS.experimental.configFile.

Describe alternatives you've considered

Use a tailwind.config.cjs file instead of specifying the config in nuxt.config.ts.

Additional context

tobiasdiez avatar Sep 15 '22 09:09 tobiasdiez