Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DX] Expose defineConfig utility #842

Open
ineshbose opened this issue Apr 27, 2024 · 0 comments
Open

[DX] Expose defineConfig utility #842

ineshbose opened this issue Apr 27, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ineshbose
Copy link
Collaborator

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

The inline tailwind config tailwindcss.config is one point of configuration that is typed (but limited to primitives and doesn't help with editor support), in that case we encourage the standard tailwind.config but our config type definition is more flexible that the standard config due to defu. Moreover, we have all configs getting merged, so the source of truth for the tailwind config is .nuxt/tailwind.config.cjs.

Describe the solution you'd like

A defineConfig utility that give the type definition for the configuration, but moreover, this utility can be programmed for the Tailwind VSCode IntelliSense plugin to read .nuxt/tailwind.config.cjs possibly (need to resolve circular import, but this would be incredible).

Describe alternatives you've considered

Additional context

@ineshbose ineshbose added enhancement New feature or request help wanted Extra attention is needed labels Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant