You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
(need to resolve circular import, but this would be incredible)
Probably take inspiration from withNuxt utility from eslint module; if any config is using withNuxt, then that becomes the final source of truth to postcss, rather than the build template. However, the utility may not exist in prepare.....
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 standardtailwind.config
but our config type definition is more flexible that the standard config due todefu
. 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
The text was updated successfully, but these errors were encountered: