clnt / alfred-tailwindcss-docs Goto Github PK
View Code? Open in Web Editor NEWAn ultra-fast TailwindCSS docs search workflow for Alfred 4 & 5
Home Page: http://www.packal.org/workflow/tailwind-docs-workflow-alfred
License: MIT License
An ultra-fast TailwindCSS docs search workflow for Alfred 4 & 5
Home Page: http://www.packal.org/workflow/tailwind-docs-workflow-alfred
License: MIT License
This Alfred workflow doesn't seem to work with the v0 Tailwind CSS docs.
The workflow keeps directing links to: https://v0.tailwindcss.com
But the v0 documentation is now located at: https://tailwindcss-v0.netlify.app/
Looks like it might be something to do with the Algolia search stuff.
New version required to support TailwindCSS v3 and v2, keep older compatibility for now. v0 compatibility to be dropped on next release.
New commands will be:
tw
- TailwindCSS v3
tw2
- TailwindCSS v2
tw1
- Tailwind CSS v1
tw0
- Tailwind CSS v0
Will try and get an update done asap, currently the public docsearch config for TailwindCSS has not been updated to add a v3 (only the domain change to fix v2).
When searching through Alfred and using the Cmd+Y shortcut to preview the webpage, it's not showing the page. It briefly shows it and then goes to the blue background (darkmode background). It did work in the previous versions that used to show Tailwind V2. When switching to Tailwind V3 it's breaking on me. Not sure if it's something on my side or in general.
Hi,
First of all, thank you for the great workflow you've created! ๐
Just wanted to mention that recently results became not accurate for me... ๐ค
For example, when I search for "height", there's no link to the main "Height" page at all:
If you use website's search - you'll find it, though:
Even more interesting results if you try "h-10":
Do you have any ideas?
Thank you!
Great Plugin Matt. I use it all the time...I just tried to update and I noticed the link on packagist is version 1.0.0 and so isn't the latest.
http://www.packal.org/workflow/tailwind-docs-workflow-alfred
Jut in case you wanted to update.
Thanks again ย ๐๐ป
Tailwind 1.x docs now located at v1.tailwindcss.com - this will become a tw1
command and require a workflow update.
Tailwind 2.x docs located in existing place so tw
command will show results for v2.
Hi, It looks like this workflow uses PHP and macOS 12 removed PHP. I installed PHP using homebrew, now the workflow must be updated to support the PHP script, and AFAIK Alfred takes care of the PHP path. Please do update this extension to support macOS 12.
Thanks
Assuming "php" exists no longer works on MacOs Monterey. Please use solution of tailwind workflow:
if [ -f "/opt/homebrew/bin/php" ]; then /opt/homebrew/bin/php tailwindcss.php "{query}" elif [ -f "/usr/local/bin/php" ]; then /usr/local/bin/php tailwindcss.php "{query}" elif [ -f "/usr/bin/php" ]; then /usr/bin/php tailwindcss.php "{query}" fi
Is this a self updating plugin - as per these docs?
https://alfredworkflow.readthedocs.io/en/latest/user-manual/update.html
If not would this be something you would consider adding?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.