Is it possible to enable Tailwind completions without the Tailwind package in node_modules?
This would be useful for:
- mono repos where the node_modules folder is in a different place, higher in the folder hierarchy
- projects that use the Tailwind CDN instead of the package
Please sign in to leave a comment.
No, it's not currently supported. Please follow https://youtrack.jetbrains.com/issue/WEB-55695/Tailwind-support-completion-when-using-playCDN for updates
Why is the package is required for the plugin to work? Is it because the plugin depends on code that's in the package?
Yes, the language service used to provide completion depends on tailwindcss module
We have a node_modules folder in a parent folder (our monorepo root) and it contains the Tailwind package.
Is it possible to tell the Tailwind plugin look for the Tailwind package in that folder?
Thanks 🙏