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
After renaming my Tailwind config from tailwind.config.js to tailwind.config.ts, the extension doesn't work that well anymore even though the file is present under a slightly altered name (throwsNo config file found). However, the IntelliSense functionality can still be triggered though, but requires you to explicitly press CTRL+space.
My suggestion is to add .ts as a file ending here (are there others we might add as well?) because any valid JS is valid TS and possibly there will be better typing support in the future of TWCSS.
If you would accept a PR of this kind, let me know and I'll gladly create one which also updates the documentation.
The text was updated successfully, but these errors were encountered:
After renaming my Tailwind config from
tailwind.config.js
totailwind.config.ts
, the extension doesn't work that well anymore even though the file is present under a slightly altered name (throwsNo config file found
). However, the IntelliSense functionality can still be triggered though, but requires you to explicitly press CTRL+space.tailwindcss-intellisense/packages/tailwindcss-intellisense/src/class-names/index.js
Line 30 in 8fce24d
My suggestion is to add
.ts
as a file ending here (are there others we might add as well?) because any valid JS is valid TS and possibly there will be better typing support in the future of TWCSS.If you would accept a PR of this kind, let me know and I'll gladly create one which also updates the documentation.
The text was updated successfully, but these errors were encountered: