Comments (3)
Hey @JaavierR. Prettier plugin autoloading is not supported when using pnpm (see prettier/prettier#8474 and prettier/prettier#11008), so you need to add the plugin to your Prettier config manually, for example:
// prettier.config.js
module.exports = {
plugins: [require('prettier-plugin-tailwindcss')],
}
from prettier-plugin-tailwindcss.
Just hit this as well. Might be nice to add this disclaimer to the Readme.
from prettier-plugin-tailwindcss.
The README now calls this out, thanks to #47
from prettier-plugin-tailwindcss.
Related Issues (20)
- SyntaxError: Identifier 'require' has already been declared HOT 3
- Sorting does not work with Angular class HostBinding HOT 2
- Sorting of extended/new attributes HOT 25
- Error: ENOENT: no such file or directory, can not find path to preflight.css HOT 2
- plugin doesn't work in VSCode HOT 3
- Plugin not processing .erb files HOT 2
- Organize classes in .php files HOT 2
- Getting prettier error while linting with TW 3.4 HOT 19
- Prettier 3 and this plugin do not work as intended with Yarn 2 PNP HOT 12
- Excess whitespaces should be removed HOT 1
- tailwindFunction not working HOT 1
- VS Code format on save fights with prettier format (while linting) HOT 9
- Problem with eslint and prettier-plugin-tailwindcss [Prettier Plugin] HOT 6
- Inconsistent sorting between formatting all files and a single file HOT 2
- Bad sorting for 'dark:' pseudoselector HOT 2
- Styling an existing component doesn't seem to work in twin.macro/react-twc HOT 1
- `3xl:` ends up in front of `xl` and `2xl` HOT 2
- Breaks with import assertions (`assert { type: 'json' }`) HOT 4
- [v4] Order discrepancy between prettier-plugin-tailwindcss and intellisense HOT 1
- Please add support for `zackad/prettier-plugin-twig-melody` HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettier-plugin-tailwindcss.