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

Automatically detect if Tailwind is installed with npm #44

Open
weaverryan opened this issue Jan 12, 2024 · 1 comment
Open

Automatically detect if Tailwind is installed with npm #44

weaverryan opened this issue Jan 12, 2024 · 1 comment

Comments

@weaverryan
Copy link
Contributor

If you have tailwindcss in your package.json, we should automatically detect and use that instead of downloading the binary. Just smooth out that workflow if the user wants to require tailwind via npm.

@bocharsky-bw
Copy link
Member

@weaverryan Should we go further and check if tailwindcss is installed in the system locally? I see I can install it with brew install tailwindcss that I believe will give me tailwindcss global alias? Probably scopes would:

  1. Check if it's in package.json
  2. Or check if it's installed locally
  3. Or download the bin ourselves.

or will it just confuse things?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants