Skip to content

Export tailwind config file #533

Closed
@tobiasdiez

Description

@tobiasdiez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions