This repository was archived by the owner on Oct 14, 2025. It is now read-only.
Repository navigation
v1.0.0
prettier-plugin-tailwindcss-drupal v1.0.0
Changes
- Added support for Drupal syntax in Twig templates
- Improved class sorting in Drupal-specific elements
- Adapted the tool to work with the Twig plugin (@zackad/prettier-plugin-twig)
Installation Instructions
npm install --save-dev prettier-plugin-tailwindcss-drupalor
yarn add --dev prettier-plugin-tailwindcss-drupalConfiguration
In the .prettierrc file:
{
"plugins": ["@zackad/prettier-plugin-twig", "prettier-plugin-tailwindcss-drupal"],
"tailwindStylesheet": "./web/themes/custom/iq/css/tailwind.css",
"singleQuote": false
}Notes
This plugin is a fork of prettier-plugin-tailwindcss with additional support for Drupal projects.