🌐
GitHub
github.com › tailwindlabs › prettier-plugin-tailwindcss
GitHub - tailwindlabs/prettier-plugin-tailwindcss: A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order. · GitHub
When using Tailwind CSS v4 you must specify your CSS file entry point, which includes your theme, custom utilities, and other Tailwind configuration options. To do this, use the tailwindStylesheet option in your Prettier configuration. Note that ...
Starred by 7K users
Forked by 175 users
Languages   TypeScript 97.6% | JavaScript 2.4%
🌐
Tailwind CSS
tailwindcss.com › blog › automatic-class-sorting-with-prettier
Automatic Class Sorting with Prettier - Tailwind CSS
The plugin will respect your tailwind.config.js file and work with any Tailwind plugins you've installed, but there is no way to change the sort order. Just like with Prettier, we think that the benefits of auto-formatting will quickly outweigh any stylistic preferences you have and that you'll get used to it pretty fast.
🌐
GitHub
github.com › tailwindlabs › prettier-plugin-tailwindcss › issues › 344
Prettier plugin just broke a lot of functionality on VUE code · Issue #344 · tailwindlabs/prettier-plugin-tailwindcss
name: Prettier Code Formatter on: [push] jobs: prettier: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} # Because of bug https://github.com/creyD/prettier_action/issues/111 - name: Install Plugins manually run: npm i prettier-plugin-tailwindcss - name: Prettify code uses: creyD/prettier_action@v4.3 with: prettier_options: --write ./resources/**/*.{ts,vue} prettier_plugins: "prettier-plugin-tailwindcss" 👍1 ·
🌐
GitHub
github.com › tailwindlabs › prettier-plugin-tailwindcss › issues › 144
vscode hanging with some vue files · Issue #144 · tailwindlabs/prettier-plugin-tailwindcss
January 21, 2023 - We added prettier-plugin-tailwindcss a couple of days ago. It worked initially, but I noticed that vscode+prettier was hanging trying to save certain .vue files. The hangs were obvious because files would fail to save and vscode would complain that prettier was still running.
Author   gurgeous
🌐
Medium
jdmendozar.medium.com › how-to-setup-vue-3-with-vite-tailwind-and-eslint-prettier-b55644005c76
How to setup Vue 3 with Vite, Tailwind and ESLint/Prettier
August 31, 2023 - If it’s not gone you probably need to install the StyleLint Plugin into VS Code. Wouldn’t be nice to have the text editor format your files on save? Well if you’re using VS Code you can by having the following extensions: ESLint, Prettier, TailwindCSS & StyleLint. And creating the file .vscode/settings.json: { "eslint.validate": ["vue", "javascript"], "eslint.packageManager": "yarn", "editor.codeActionsOnSave": { "source.fixAll.eslint": true, "source.fixAll.stylelint": true }, "editor.quickSuggestions": { "other": true, "comments": false, "strings": true }, "css.validate": false, "tailwindCSS.emmetCompletions": true } Now, whenever you save a vue file or a JavaScript file or a CSS file it should automatically be formatted.
🌐
npm
npmjs.com › package › prettier-plugin-tailwind
prettier-plugin-tailwind - npm
Sort tailwind classes with Prettier. ... This plugin reads your tailwind.config.js to sort tailwind classes in your project.
      » npm install prettier-plugin-tailwind
    
Published   Jun 21, 2021
Version   2.2.12
Author   Ari Seyhun
🌐
GitHub
github.com › marcosvega91 › prettier-tailwind
GitHub - marcosvega91/prettier-tailwind: Prettier plugin for tailwind
It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. This plugin adds support for the Tailwind CSS library.
Starred by 98 users
Forked by 3 users
Languages   JavaScript 71.2% | Vue 10.0% | TypeScript 7.4% | HTML 3.6% | Less 2.8% | SCSS 2.8% | CSS 2.2% | JavaScript 71.2% | Vue 10.0% | TypeScript 7.4% | HTML 3.6% | Less 2.8% | SCSS 2.8% | CSS 2.2%
🌐
npm
npmjs.com › package › prettier-plugin-tailwindcss › v › 0.0.0-insiders.d539a72
prettier-plugin-tailwindcss - npm
A Prettier plugin for sorting Tailwind CSS classes.. Latest version: 0.7.2, last published: a month ago. Start using prettier-plugin-tailwindcss in your project by running `npm i prettier-plugin-tailwindcss`. There are 612 other projects in ...
      » npm install prettier-plugin-tailwindcss
    
Published   Dec 01, 2025
Version   0.0.0-insiders.d539a72
🌐
Tailwind CSS
tailwindcss.com › docs › editor-setup
Editor setup - Getting started - Tailwind CSS
It has built-in support for Tailwind CSS autocompletions, linting, and hover previews, without the need to install and configure a separate extension. It also integrates tightly with Prettier, so our official Prettier plugin works seamlessly ...
Find elsewhere
🌐
Medium
medium.com › @ademyalcin27 › vue-3-design-system-series-3-9f8feba80401
Vue 3 Design System Series -3. Vue Embracing Prettier with Tailwind… | by Ademyalcin | Medium
March 17, 2024 - Let’s dive into the details of the changes made to the Input.vue component, all while speaking as the author narrating the experience. Hey there, fellow coders! Today, I want to chat about something that often gets overlooked — the beauty and simplicity of our code. We’ve previously introduced Prettier into our project for consistent formatting. But now, we’re stepping it up a notch by incorporating the “prettier-plugin-tailwindcss” in our package.json.
🌐
All UtilityCSS
allutilitycss.com › home › tools › prettier plugin tailwind css
Prettier Plugin Tailwind CSS | All UtilityCSS
June 11, 2025 - It’s a free Prettier plugin that sorts Tailwind CSS classes for consistency in utility-first workflows. Yes, it’s fully free under the MIT license. Yes, it supports React, Vue, Angular, Svelte, and more.
🌐
GitHub
github.com › topics › prettier-plugin-tailwindcss
prettier-plugin-tailwindcss · GitHub Topics · GitHub
javascript html5 iconify prettier-plugin-tailwindcss tailwindcss-v4 ... A Prettier plugin that removes duplicate class names in class and className attributes, ensuring cleaner, more efficient code in frontend projects like React, Vue.js, and ...
🌐
Nova Extensions
extensions.panic.com › extensions › stonerl › stonerl.prettier
Prettier⁺ | Nova Extensions
All bundled plugins are now enabled by default, except for prettier-plugin-tailwindcss, which remains optional.
🌐
GitHub
github.com › tailwindlabs › prettier-plugin-tailwindcss › releases
Releases · tailwindlabs/prettier-plugin-tailwindcss
A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order. - Releases · tailwindlabs/prettier-plugin-tailwindcss
Author   tailwindlabs
🌐
npm
npmjs.com › package › eslint-plugin-tailwindcss
eslint-plugin-tailwindcss - npm
While you can use the official plugin prettier-plugin-tailwindcss for ordering your classnames...
      » npm install eslint-plugin-tailwindcss
    
Published   Jul 16, 2025
Version   3.18.2
Author   François Massart
🌐
Straffesites
straffesites.com › en › blog › integrate prettier astro tailwindcss
Integrate Prettier with Astro & Tailwind CSS for Cleaner Code - Straffe Sites
December 4, 2024 - When working with a framework integration, such as Svelte (prettier-plugin-svelte), it's necessary to include them in the plugins properties. Additionally, create a .prettierignore file with the following content to exclude specific files from Prettier's formatting: ... Congratulations! You've successfully integrated Prettier with Astro and Tailwind CSS.