@aetheria/plugin-tailwind-classes-builder
v1.2.0
Published
Aetheria tailwind plugin to enable tailwind classes and minification in templates
Downloads
6
Maintainers
Readme
@aetheria/plugin-tailwind-classes-builder
🎨 Welcome to @aetheria/plugin-tailwind-classes-builder
- a powerful Tailwind CSS classes builder plugin for Aetheria's
headless CMS!
This package allows you to automatically generate Tailwind CSS classes, perform CSS and HTML minification,
and extract styles and scripts from HTML templates.
By listening to specific events during template creation and update, this plugin can seamlessly enhance the behavior of
Aetheria CMS.
Features
✨ Here are the key features of @aetheria/plugin-tailwind-classes-builder
:
Tailwind CSS Classes Generation: The plugin automatically generates TailwindCSS classes for the HTML part of each template, empowering the usage of TailwindCSS utility first classes inside the block editor.
CSS Minification and Extraction: The CSS within the templates is minified and extracted, resulting in optimized stylesheets for improved performance.
HTML Minification and Script Extraction: The HTML templates are minified, reducing the file size and improving loading times. Additionally, the plugin extracts any embedded scripts, allowing you to separate logic from presentation.
Installation
📦 To install @aetheria/plugin-tailwind-classes-builder
, simply run the following command:
npm install @aetheria/plugin-tailwind-classes-builder
Usage
🔧 If you've installed the plugin via the dedicated cli you can immediately start utilizing the plugin within your Aetheria CMS project. For manual installation refer to the official Aetheria documentation.
License
📜 This package is licensed under the GNU General Public License v2.0 (GPL-2.0).
Contributing
🤝 We welcome contributions from the community to enhance @aetheria/plugin-tailwind-classes-builder
. If you have any
ideas, bug fixes, or improvements, please feel free to submit a pull request or open an issue on the GitHub repository.
Want some quick links? Here are some useful places to get started:
Get Started Now!
✨ Enhance your Aetheria CMS templates effortlessly with automatic Tailwind CSS classes generation, CSS and HTML minification, and script extraction. Visit the official Aetheria documentation to learn more and integrate this powerful plugin into your Aetheria CMS project.
Take your templates to the next level with optimized styles and improved performance! 🚀