Search files prettierrc and tailwind config files on github for sur you ll have the right settings from there Answer from France_linux_css on reddit.com
🌐
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 7.1K 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.
Discussions

I spent over two hours trying to get Prettier to work with prettier-plugin-tailwindcss. Anyone here using it?
Search files prettierrc and tailwind config files on github for sur you ll have the right settings from there More on reddit.com
🌐 r/tailwindcss
16
7
July 7, 2023
vscode hanging with some vue files
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. More on github.com
🌐 github.com
39
March 31, 2023
Warn if the path to `tailwindConfig` or `tailwindStylesheet` is invalid
What version of prettier-plugin-tailwindcss are you using? 0.6.11 What version of Tailwind CSS are you using? 4.1.5 What version of Node.js are you using? v20.17.0 What package manager are you usin... More on github.com
🌐 github.com
0
September 5, 2024
tailwind css - Prettier-plugin-tailwindcss doesn't work in PhpStorm - Stack Overflow
I've followed the docs and prettier is installed and working but prettier-plugin-tailwindcss doesn't seem to work, at least when I reformat with Prettier, no Tailwind classes are sorted. .prettierr... More on stackoverflow.com
🌐 stackoverflow.com
People also ask

Is Prettier Plugin Tailwind CSS free to use?
Yes, it’s fully free under the MIT license.
🌐
allutilitycss.com
allutilitycss.com › home › tools › prettier plugin tailwind css
Prettier Plugin Tailwind CSS | All UtilityCSS
What is Prettier Plugin Tailwind CSS, and how does it work with Tailwind CSS?
It’s a free Prettier plugin that sorts Tailwind CSS classes for consistency in utility-first workflows.
🌐
allutilitycss.com
allutilitycss.com › home › tools › prettier plugin tailwind css
Prettier Plugin Tailwind CSS | All UtilityCSS
Does it work with frameworks other than React?
Yes, it supports React, Vue, Angular, Svelte, and more.
🌐
allutilitycss.com
allutilitycss.com › home › tools › prettier plugin tailwind css
Prettier Plugin Tailwind CSS | All UtilityCSS
🌐
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
March 31, 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.
Find elsewhere
🌐
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-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 › 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 ...
🌐
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.
🌐
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.
🌐
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 ...
🌐
npm
npmjs.com › package › prettier-plugin-tailwindcss › v › 0.0.0-insiders.d539a72
prettier-plugin-tailwindcss - npm
April 5, 2023 - 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
🌐
GitHub
github.com › tailwindlabs › prettier-plugin-tailwindcss › issues › 363
Warn if the path to `tailwindConfig` or `tailwindStylesheet` is invalid · Issue #363 · tailwindlabs/prettier-plugin-tailwindcss
September 5, 2024 - https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/README.md · Describe your issue · Just lost quite a bit of time trying to figure out why my sorting wasn't correct. Turn out the path inside tailwindConfig or tailwindStylesheet wasn't correct. The README says the path is relative to .prettierrc, but if you don't put a valid path, the plugin will work poperly but show different errors when running npm run lint · package.jon · "lint": "eslint --ext .js,.vue ./resources/js" eslint.config.js ·
Author   mrleblanc101
🌐
Nova Extensions
extensions.panic.com › extensions › stonerl › stonerl.prettier
Prettier⁺ | Nova Extensions - Panic
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
🌐
All UtilityCSS
allutilitycss.com › home › tools › prettier plugin for tailwind css
prettier-plugin | All UtilityCSS
July 8, 2025 - Prettier plugin for Tailwind CSS to auto-sort classes by order. ... An open-source Tailwind CSS components library for any needs. ... Vuexy MUI NextJS Admin Template with modern layouts and UX design.
🌐
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.